Sha256: 8d5a0b603c7080fefede3fe932266d0ed12cc535111d80db8dccb3e612f7b76d
Contents?: true
Size: 547 Bytes
Versions: 26
Compression:
Stored size: 547 Bytes
Contents
class Zendesk2::Client class Real def get_user_identity(params={}) id = params["id"] user_id = params["user_id"] path = "/users/#{user_id}/identities/#{id}.json" request(:path => path) end end # Real class Mock def get_user_identity(params={}) id = params["id"] user_id = params["user_id"] response( :path => "/users/#{user_id}/identities/#{id}.json", :body => { "identity" => find!(:identities, id) }, ) end end # Mock end
Version data entries
26 entries across 26 versions & 1 rubygems