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
150 151 152 |
# File 'lib/contextio/api/resource_collection.rb', line 150 def association_name @association_name end |
#associations ⇒ Object (readonly)
144 145 146 |
# File 'lib/contextio/api/resource_collection.rb', line 144 def associations @associations ||= [] end |