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 private def module_url "#{base_url}/org/v1" end end end end