Class: HecksAdapters::DynamoDB::Commands::Update
- Inherits:
-
Object
- Object
- HecksAdapters::DynamoDB::Commands::Update
- Defined in:
- lib/commands/update.rb
Overview
Update a resource on DynamoDB
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(id, attributes, head, client) ⇒ Update
constructor
A new instance of Update.
Constructor Details
#initialize(id, attributes, head, client) ⇒ Update
Returns a new instance of Update.
6 7 8 9 10 11 |
# File 'lib/commands/update.rb', line 6 def initialize(id, attributes, head, client) @head = head @attributes = attributes @client = client @id = id end |
Instance Method Details
#call ⇒ Object
13 14 15 16 |
# File 'lib/commands/update.rb', line 13 def call update_item self end |