Sha256: 59586999062ec67a69787b070aa4449491aa02acaef88b166348aaf64c725792

Contents?: true

Size: 487 Bytes

Versions: 15

Compression:

Stored size: 487 Bytes

Contents

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

module Intercom
  module ExtendedApiOperations
    module Users
      def users(id)
        collection_name = Utils.resource_class_to_collection_name(collection_class)
        finder_details = {}
        finder_details[:url] = "/#{collection_name}/#{id}/users"
        finder_details[:params] = {}
        ClientCollectionProxy.new("users", finder_details: finder_details, client: @client)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
intercom-3.5.26 lib/intercom/extended_api_operations/users.rb
intercom-3.5.25 lib/intercom/extended_api_operations/users.rb
intercom-3.5.24 lib/intercom/extended_api_operations/users.rb
intercom-3.5.23 lib/intercom/extended_api_operations/users.rb
intercom-3.5.22 lib/intercom/extended_api_operations/users.rb
intercom-3.5.21 lib/intercom/extended_api_operations/users.rb
intercom-3.5.20 lib/intercom/extended_api_operations/users.rb
intercom-3.5.19 lib/intercom/extended_api_operations/users.rb
intercom-3.5.17 lib/intercom/extended_api_operations/users.rb
intercom-3.5.16 lib/intercom/extended_api_operations/users.rb
intercom-3.5.15 lib/intercom/extended_api_operations/users.rb
intercom-3.5.14 lib/intercom/extended_api_operations/users.rb
intercom-3.5.12 lib/intercom/extended_api_operations/users.rb
intercom-3.5.11 lib/intercom/extended_api_operations/users.rb
intercom-3.5.10 lib/intercom/extended_api_operations/users.rb