lib/open_recycling/org/client.rb in open_recycling-0.0.3 vs lib/open_recycling/org/client.rb in open_recycling-0.0.4
- old
+ new
@@ -1,11 +1,19 @@
require_relative "organizations"
+require_relative "organization_users"
module OpenRecycling
module Org
class Client < OpenRecycling::ModuleClient
def organizations
@organizations ||= OpenRecycling::Org::Organizations.new(
+ base_url: module_url,
+ jwt_token: jwt_token
+ )
+ end
+
+ def organization_users
+ @organization_users ||= OpenRecycling::Org::OrganizationUsers.new(
base_url: module_url,
jwt_token: jwt_token
)
end
\ No newline at end of file