Class: Alephant::Support::DynamoDB::Table

Inherits:
Object
  • Object
show all
Defined in:
lib/alephant/support/dynamodb/table.rb

Constant Summary collapse

TIMEOUT =
120
DEFAULT_CONFIG =
{
  :write_units => 5,
  :read_units => 10,
}

Instance Method Summary collapse

Instance Method Details

#tableObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/alephant/support/dynamodb/table.rb', line 11

def table
  raise NotImplementedError
end

#truncate!Object



15
16
17
# File 'lib/alephant/support/dynamodb/table.rb', line 15

def truncate!
  batch_delete table_data
end