module Commutator::Model::TableConfiguration

Some basic configuration related to a Dynamo table

Public Class Methods

table_name(*args) click to toggle source
Calls superclass method
# File lib/commutator/model/table_configuration.rb, line 24
def table_name(*args)
  return super if args.size == 0
  send("table_name=", *args)
end

Public Instance Methods

primary_key_hash() click to toggle source
# File lib/commutator/model/table_configuration.rb, line 11
def primary_key_hash
  send(primary_key_hash_name)
end
primary_key_range() click to toggle source
# File lib/commutator/model/table_configuration.rb, line 15
def primary_key_range
  send(primary_key_range_name) if primary_key_range_name.present?
end