Module: Intercom::ExtendedApiOperations::Tags

Included in:
Service::Company, Service::User
Defined in:
lib/intercom/extended_api_operations/tags.rb

Instance Method Summary collapse

Instance Method Details

#by_tag(id) ⇒ Object


7
8
9
10
# File 'lib/intercom/extended_api_operations/tags.rb', line 7

def by_tag(id)
  collection_name = Utils.resource_class_to_collection_name(collection_class)
  ClientCollectionProxy.new(collection_name, finder_details: {url: "/#{collection_name}?tag_id=#{id}"}, client: @client)
end