Exception: Parse::RecordNotSaved
- Inherits:
- StandardError
- Object
- StandardError
- Parse::RecordNotSaved
- Defined in:
- lib/parse/model/core/actions.rb
Overview
An error raised when a save failure occurs.
Instance Attribute Summary collapse
- #object ⇒ Parse::Object readonly
The Parse::Object that failed to save.
Instance Method Summary collapse
- #initialize(object) ⇒ RecordNotSaved constructor
A new instance of RecordNotSaved.
Constructor Details
#initialize(object) ⇒ RecordNotSaved
Returns a new instance of RecordNotSaved
106 107 108 | # File 'lib/parse/model/core/actions.rb', line 106 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Parse::Object (readonly)
Returns the Parse::Object that failed to save.
103 104 105 | # File 'lib/parse/model/core/actions.rb', line 103 def object @object end |