module Intercom::ExtendedApiOperations::Segments
Public Instance Methods
by_segment(id)
click to toggle source
# File lib/intercom/extended_api_operations/segments.rb, line 9 def by_segment(id) collection_name = Utils.resource_class_to_collection_name(collection_class) ClientCollectionProxy.new(collection_name, collection_class, details: { url: "/#{collection_name}?segment_id=#{id}" }, client: @client) end