Class: ESP::Organization

Inherits:
Resource
  • Object
show all
Defined in:
lib/esp/resources/organization.rb

Constant Summary

Constants inherited from Resource

Resource::PREDICATES

Instance Method Summary collapse

Methods inherited from Resource

arrange_options, filters, find, make_pageable, #serializable_hash, where

Instance Method Details

#createObject

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_signaturesObject

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'

#destroyObject

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_accountsObject

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'

#reportsObject

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_organizationsObject

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'

#teamsObject

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'

#usersObject

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'