Exception: Dynamoid::Errors::RecordNotSaved
- Defined in:
- lib/dynamoid/errors.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ RecordNotSaved
constructor
A new instance of RecordNotSaved.
Constructor Details
#initialize(record) ⇒ RecordNotSaved
Returns a new instance of RecordNotSaved.
29 30 31 32 |
# File 'lib/dynamoid/errors.rb', line 29 def initialize(record) super('Failed to save the item') @record = record end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
27 28 29 |
# File 'lib/dynamoid/errors.rb', line 27 def record @record end |