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.
89 90 91 |
# File 'lib/parse/model/core/actions.rb', line 89 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Parse::Object (readonly)
Returns the Parse::Object that failed to save.
86 87 88 |
# File 'lib/parse/model/core/actions.rb', line 86 def object @object end |