Class: Dynamodb::Api::Update::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamodb/api/update/base.rb

Overview

:nodoc:

Direct Known Subclasses

Attributes, Item

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 = table_name

  client = Adapter.client
  client.update_item(build_update_clause)
end