Module: Aws::Record::SecondaryIndexes

Included in:
Aws::Record
Defined in:
lib/aws-record/record/secondary_indexes.rb

Defined Under Namespace

Modules: SecondaryIndexesClassMethods

Class Method Summary collapse

Class Method Details

.included(sub_class) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
22
23
# File 'lib/aws-record/record/secondary_indexes.rb', line 19

def self.included(sub_class)
  sub_class.instance_variable_set("@local_secondary_indexes", {})
  sub_class.instance_variable_set("@global_secondary_indexes", {})
  sub_class.extend(SecondaryIndexesClassMethods)
end