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