Module: Intercom::ExtendedApiOperations::Users

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

Instance Method Summary collapse

Instance Method Details

#usersObject



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

def users
  collection_name = Utils.resource_class_to_collection_name(self.class)
  finder_details = {}
  finder_details[:url] = "/#{collection_name}/#{id}/users"
  finder_details[:params] = {}
  CollectionProxy.new("users", finder_details)
end