Exception: Dynamoid::Errors::RecordNotDestroyed
- 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) ⇒ RecordNotDestroyed
constructor
A new instance of RecordNotDestroyed.
Constructor Details
#initialize(record) ⇒ RecordNotDestroyed
Returns a new instance of RecordNotDestroyed.
28 29 30 31 |
# File 'lib/dynamoid/errors.rb', line 28 def initialize(record) super('Failed to destroy item') @record = record end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
26 27 28 |
# File 'lib/dynamoid/errors.rb', line 26 def record @record end |