Class: AWS::DynamoDB::ItemData
- Inherits:
-
Object
- Object
- AWS::DynamoDB::ItemData
- Defined in:
- lib/aws/dynamo_db/item_data.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#item ⇒ Object
readonly
Returns the value of attribute item.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ItemData
constructor
A new instance of ItemData.
Constructor Details
#initialize(opts = {}) ⇒ ItemData
Returns a new instance of ItemData.
23 24 25 26 |
# File 'lib/aws/dynamo_db/item_data.rb', line 23 def initialize(opts = {}) @item = opts[:item] @attributes = opts[:attributes] end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
21 22 23 |
# File 'lib/aws/dynamo_db/item_data.rb', line 21 def attributes @attributes end |
#item ⇒ Object (readonly)
Returns the value of attribute item.
19 20 21 |
# File 'lib/aws/dynamo_db/item_data.rb', line 19 def item @item end |