Sha256: 374dd05637f3986738da50198e98c7fdb1d8b0165833fc4478a98f2ccc8e6ab0
Contents?: true
Size: 455 Bytes
Versions: 26
Compression:
Stored size: 455 Bytes
Contents
class Zendesk2::Client class Real def get_user_field(params={}) id = params["id"] request( :method => :get, :path => "/user_fields/#{id}.json" ) end end # Real class Mock def get_user_field(params={}) id = params["id"] response( :path => "/user_fields/#{id}.json", :body => { "user_field" => find!(:user_fields, id) }, ) end end # Mock end
Version data entries
26 entries across 26 versions & 1 rubygems