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
9 10 11 12 |
# File 'lib/intercom/extended_api_operations/tags.rb', line 9 def by_tag(id) collection_name = Utils.resource_class_to_collection_name(collection_class) ClientCollectionProxy.new(collection_name, collection_class, details: { url: "/#{collection_name}?tag_id=#{id}" }, client: @client) end |