Sha256: 95e4561da2f37423f66059a917929892414bdcf399bdf0f755b773d801c85e19

Contents?: true

Size: 392 Bytes

Versions: 33

Compression:

Stored size: 392 Bytes

Contents

require 'intercom/client_collection_proxy'
require 'intercom/utils'

module Intercom
  module ExtendedApiOperations
    module Tags
      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
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
intercom-3.9.5 lib/intercom/extended_api_operations/tags.rb
intercom-3.9.4 lib/intercom/extended_api_operations/tags.rb
intercom-3.9.3 lib/intercom/extended_api_operations/tags.rb
intercom-3.9.2 lib/intercom/extended_api_operations/tags.rb
intercom-3.9.0 lib/intercom/extended_api_operations/tags.rb
intercom-3.8.1 lib/intercom/extended_api_operations/tags.rb
intercom-3.8.0 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.7 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.6 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.5 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.4 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.3 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.2 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.1 lib/intercom/extended_api_operations/tags.rb
intercom-3.7.0 lib/intercom/extended_api_operations/tags.rb
intercom-3.6.2 lib/intercom/extended_api_operations/tags.rb
intercom-3.6.1 lib/intercom/extended_api_operations/tags.rb
intercom-3.6.0 lib/intercom/extended_api_operations/tags.rb
intercom-3.5.26 lib/intercom/extended_api_operations/tags.rb
intercom-3.5.25 lib/intercom/extended_api_operations/tags.rb