Class: Dynamodb::Api::Update::Base
- Inherits:
-
Object
- Object
- Dynamodb::Api::Update::Base
- Defined in:
- lib/dynamodb/api/update/base.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#update_item(key, cols, table_name) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/dynamodb/api/update/base.rb', line 7 def update_item(key, cols, table_name) @key = key @cols = cols @table_name = Dynamodb::Api::Config.build_table_name(table_name) client = Adapter.client client.update_item(build_update_clause) end |