Class: AWS::DynamoDB::ItemData

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/dynamo_db/item_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject (readonly)

Returns the value of attribute attributes


21
22
23
# File 'lib/aws/dynamo_db/item_data.rb', line 21

def attributes
  @attributes
end

#itemObject (readonly)

Returns the value of attribute item


19
20
21
# File 'lib/aws/dynamo_db/item_data.rb', line 19

def item
  @item
end