Class: OpenRecycling::Org::Client

Inherits:
ModuleClient show all
Defined in:
lib/open_recycling/org/client.rb

Instance Attribute Summary

Attributes inherited from ModuleClient

#base_url, #jwt_token

Instance Method Summary collapse

Methods inherited from ModuleClient

#initialize

Constructor Details

This class inherits a constructor from OpenRecycling::ModuleClient

Instance Method Details

#organization_usersObject



14
15
16
17
18
19
# File 'lib/open_recycling/org/client.rb', line 14

def organization_users
  @organization_users ||= OpenRecycling::Org::OrganizationUsers.new(
    base_url: module_url,
    jwt_token: jwt_token
  )
end

#organizationsObject



7
8
9
10
11
12
# File 'lib/open_recycling/org/client.rb', line 7

def organizations
  @organizations ||= OpenRecycling::Org::Organizations.new(
    base_url: module_url,
    jwt_token: jwt_token
  )
end