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.
98 99 100 |
# File 'lib/parse/model/core/actions.rb', line 98 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Parse::Object (readonly)
Returns the Parse::Object that failed to save.
95 96 97 |
# File 'lib/parse/model/core/actions.rb', line 95 def object @object end |