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
- .included(sub_class) ⇒ Object private
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.
7 8 9 10 11 12 |
# File 'lib/aws-record/record/secondary_indexes.rb', line 7 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) inherit_indexes(sub_class) if Aws::Record.extends_record?(sub_class) end |