Class: TeambitionApi::Helpers::Organization
- Inherits:
-
Object
- Object
- TeambitionApi::Helpers::Organization
- Extended by:
- Base
- Defined in:
- lib/teambition_api/helpers/organization.rb
Constant Summary collapse
- ACTIONS_HASH =
{ get_all: "/api/organizations" }
Class Method Summary collapse
Methods included from Base
Class Method Details
.get_organizations(access_token) ⇒ Object
10 11 12 13 |
# File 'lib/teambition_api/helpers/organization.rb', line 10 def self.get_organizations(access_token) params = { access_token: access_token } get(ACTIONS_HASH[:get_all], params) end |