Sha256: 4677f333b42fbd7b7cc5ad0a8a4f5d5d33cd2365e0066165a5667a5c64a06bd3
Contents?: true
Size: 669 Bytes
Versions: 9
Compression:
Stored size: 669 Bytes
Contents
class Zendesk2::Client class Real def destroy_user_identity(params={}) id = params.delete("id") user_id = params.delete("user_id") request( :method => :delete, :path => "/users/#{user_id}/identities/#{id}.json" ) end end class Mock def destroy_user_identity(params={}) id = params["id"].to_s user_id = params["user_id"].to_s path = "/users/#{user_id}/identities/#{id}.json" body = self.delete!(:identities, id) response( :method => :delete, :path => path, :body => { "identity" => body, }, ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems