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