Sha256: 862e13a65882653a1ff82ff47d3797fb80d1ac9a75fc973ee34927b4104e690a
Contents?: true
Size: 501 Bytes
Versions: 9
Compression:
Stored size: 501 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.delete!(:forums, id) response( :method => :delete, :path => path, :body => { "forum" => body, }, ) end end end
Version data entries
9 entries across 9 versions & 1 rubygems