Sha256: 7980d73d088fc39906018a442ad36c1a9110b679e397c51af1c9551270944a00
Contents?: true
Size: 507 Bytes
Versions: 46
Compression:
Stored size: 507 Bytes
Contents
class Zendesk2::Client class Real def destroy_category(params={}) id = params["id"] request( :method => :delete, :path => "/categories/#{id}.json" ) end end class Mock def destroy_category(params={}) id = params["id"] body = self.data[:categories].delete(id) response( :method => :delete, :path => "/categories/#{id}.json", :body => { "category" => body, }, ) end end end
Version data entries
46 entries across 46 versions & 1 rubygems