Sha256: cc5fa4b3c2bd7d630ba86eacdc7b595510df2ad8b0c0e7eaffdc177b8b5ad3e5
Contents?: true
Size: 418 Bytes
Versions: 20
Compression:
Stored size: 418 Bytes
Contents
require 'intercom/traits/api_resource' require 'intercom/client_collection_proxy' module Intercom module ExtendedApiOperations module Segments def by_segment(id) collection_name = Utils.resource_class_to_collection_name(collection_class) ClientCollectionProxy.new(collection_name, finder_details: {url: "/#{collection_name}?segment_id=#{id}"}, client: @client) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems