Exception: Parse::RecordNotSaved

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parse/model/core/actions.rb

Overview

An error raised when a save failure occurs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ RecordNotSaved

Returns a new instance of RecordNotSaved

Parameters:


106
107
108
# File 'lib/parse/model/core/actions.rb', line 106

def initialize(object)
  @object = object
end

Instance Attribute Details

#objectParse::Object (readonly)

Returns the Parse::Object that failed to save.

Returns:


103
104
105
# File 'lib/parse/model/core/actions.rb', line 103

def object
  @object
end