Sha256: 29757e8c8d42adfa68c6e2d89dea29ca3d089dc777c4a569925d9272d258f1da
Contents?: true
Size: 637 Bytes
Versions: 9
Compression:
Stored size: 637 Bytes
Contents
class Zendesk2::Client class Real def get_user_identities(params={}) user_id = require_parameters(params, "user_id") page_params = Zendesk2.paging_parameters(params) request( :params => page_params, :method => :get, :path => "/users/#{user_id}/identities.json", ) end end # Real class Mock def get_user_identities(params={}) user_id = require_parameters(params, "user_id") page(params, :identities, "/users/#{user_id}/identities.json", "identities", filter: lambda { |c| c.select { |a| a["user_id"].to_s == user_id.to_s } }) end end # Mock end
Version data entries
9 entries across 9 versions & 1 rubygems