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:


98
99
100
# File 'lib/parse/model/core/actions.rb', line 98

def initialize(object)
  @object = object
end

Instance Attribute Details

#objectParse::Object (readonly)

Returns the Parse::Object that failed to save.

Returns:


95
96
97
# File 'lib/parse/model/core/actions.rb', line 95

def object
  @object
end