Exception: OceanDynamo::StaleObjectError
- Inherits:
-
DynamoError
- Object
- StandardError
- DynamoError
- OceanDynamo::StaleObjectError
- Defined in:
- lib/ocean-dynamo/exceptions.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(record) ⇒ StaleObjectError
constructor
:nodoc:.
Constructor Details
#initialize(record) ⇒ StaleObjectError
:nodoc:
38 39 40 41 42 |
# File 'lib/ocean-dynamo/exceptions.rb', line 38 def initialize(record) # :nodoc: @record = record errors = @record.errors..join(", ") super(@record.errors.) end |
Instance Attribute Details
#record ⇒ Object (readonly)
:nodoc:
37 38 39 |
# File 'lib/ocean-dynamo/exceptions.rb', line 37 def record @record end |