Class: ESP::SubOrganization
- Defined in:
- lib/esp/resources/sub_organization.rb
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#external_accounts ⇒ Object
The collection of external_accounts that belong to the sub organization.
-
#organization ⇒ Object
The organization this sub organization belongs to.
-
#reports ⇒ Object
The collection of reports that belong to the sub organization.
-
#teams ⇒ Object
The collection of teams that belong to the sub organization.
Methods inherited from Resource
arrange_options, filters, find, make_pageable, #serializable_hash, where
Instance Method Details
#external_accounts ⇒ Object
The collection of external_accounts that belong to the sub organization.
13 |
# File 'lib/esp/resources/sub_organization.rb', line 13 has_many :external_accounts, class_name: 'ESP::ExternalAccount' |
#organization ⇒ Object
The organization this sub organization belongs to.
5 |
# File 'lib/esp/resources/sub_organization.rb', line 5 belongs_to :organization, class_name: 'ESP::Organization' |
#reports ⇒ Object
The collection of reports that belong to the sub organization.
17 |
# File 'lib/esp/resources/sub_organization.rb', line 17 has_many :reports, class_name: 'ESP::Report' |
#teams ⇒ Object
The collection of teams that belong to the sub organization.
9 |
# File 'lib/esp/resources/sub_organization.rb', line 9 has_many :teams, class_name: 'ESP::Team' |