Sha256: d694ceca57d6ec718041123d4a833de02ded130e4d0e983b857d86674d7401a8
Contents?: true
Size: 552 Bytes
Versions: 4
Compression:
Stored size: 552 Bytes
Contents
class Zendesk2::Client class Real def destroy_topic_comment(params={}) id = params["id"] request( :method => :delete, :path => "/topic_comments/#{id}.json" ) end end class Mock def destroy_topic_comment(params={}) id = params["id"] path = "/topic_comments/#{id}.json" body = self.data[:topic_comments].delete(id) response( :method => :delete, :path => path, :body => { "topic_comment" => body, }, ) end end end
Version data entries
4 entries across 4 versions & 1 rubygems