Module: Intercom::ExtendedApiOperations::Users

Included in:
Service::Company
Defined in:
lib/intercom/extended_api_operations/users.rb

Instance Method Summary collapse

Instance Method Details

#users(id) ⇒ Object


7
8
9
10
11
12
13
# File 'lib/intercom/extended_api_operations/users.rb', line 7

def users(id)
  collection_name = Utils.resource_class_to_collection_name(collection_class)
  finder_details = {}
  finder_details[:url] = "/#{collection_name}/#{id}/users"
  finder_details[:params] = {}
  ClientCollectionProxy.new("users", finder_details: finder_details, client: @client)
end