Class: ESP::Organization
- Defined in:
- lib/esp/resources/organization.rb
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#create ⇒ Object
Not Implemented.
-
#custom_signatures ⇒ Object
The collection of organizations that belong to the organization.
-
#destroy ⇒ Object
Not Implemented.
-
#external_accounts ⇒ Object
The collection of external_accounts that belong to the organization.
-
#reports ⇒ Object
The collection of reports that belong to the organization.
-
#sub_organizations ⇒ Object
The collection of sub_organizations that belong to the organization.
-
#teams ⇒ Object
The collection of teams that belong to the organization.
-
#users ⇒ Object
The collection of users that belong to the organization.
Methods inherited from Resource
arrange_options, filters, find, make_pageable, #serializable_hash, where
Instance Method Details
#create ⇒ Object
Not Implemented. You cannot create an Organization.
28 29 30 |
# File 'lib/esp/resources/organization.rb', line 28 def create # :nodoc: fail ESP::NotImplementedError end |
#custom_signatures ⇒ Object
The collection of organizations that belong to the organization.
25 |
# File 'lib/esp/resources/organization.rb', line 25 has_many :custom_signatures, class_name: 'ESP::CustomSignature' |
#destroy ⇒ Object
Not Implemented. You cannot destroy an Organization.
33 34 35 |
# File 'lib/esp/resources/organization.rb', line 33 def destroy fail ESP::NotImplementedError end |
#external_accounts ⇒ Object
The collection of external_accounts that belong to the organization.
21 |
# File 'lib/esp/resources/organization.rb', line 21 has_many :external_accounts, class_name: 'ESP::ExternalAccount' |
#reports ⇒ Object
The collection of reports that belong to the organization.
17 |
# File 'lib/esp/resources/organization.rb', line 17 has_many :reports, class_name: 'ESP::Report' |
#sub_organizations ⇒ Object
The collection of sub_organizations that belong to the organization.
9 |
# File 'lib/esp/resources/organization.rb', line 9 has_many :sub_organizations, class_name: 'ESP::SubOrganization' |
#teams ⇒ Object
The collection of teams that belong to the organization.
5 |
# File 'lib/esp/resources/organization.rb', line 5 has_many :teams, class_name: 'ESP::Team' |
#users ⇒ Object
The collection of users that belong to the organization.
13 |
# File 'lib/esp/resources/organization.rb', line 13 has_many :users, class_name: 'ESP::User' |