Module: ContextIO::API::ResourceCollection::DeclarativeClassSyntax
- Defined in:
- lib/contextio/api/resource_collection.rb
Overview
This module contains helper methods for ‘API::ResourceCollection`s’ class definitions. It gets ‘extend`ed into a class when `API::ResourceCollection` is `include`d.
Instance Attribute Summary collapse
- #association_name ⇒ Object readonly
- #associations ⇒ Object readonly
Instance Attribute Details
#association_name ⇒ Object
149 150 151 |
# File 'lib/contextio/api/resource_collection.rb', line 149 def association_name @association_name end |
#associations ⇒ Object (readonly)
143 144 145 |
# File 'lib/contextio/api/resource_collection.rb', line 143 def associations @associations ||= [] end |