Module: Commutator::Model::TableConfiguration

Extended by:
ActiveSupport::Concern
Included in:
Commutator::Model
Defined in:
lib/commutator/model/table_configuration.rb

Overview

Some basic configuration related to a Dynamo table

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#primary_key_hashObject



11
12
13
# File 'lib/commutator/model/table_configuration.rb', line 11

def primary_key_hash
  send(primary_key_hash_name)
end

#primary_key_rangeObject



15
16
17
# 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