Class: ESP::SubOrganization

Inherits:
Resource
  • Object
show all
Defined in:
lib/esp/resources/sub_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

#external_accountsObject

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'

#organizationObject

The organization this sub organization belongs to.



5
# File 'lib/esp/resources/sub_organization.rb', line 5

belongs_to :organization, class_name: 'ESP::Organization'

#reportsObject

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'

#teamsObject

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'