Sha256: 3c3bee00050483c4164ed88c7bd88e93fabff78190a6e87fb7aff4a0cbabe70f
Contents?: true
Size: 475 Bytes
Versions: 28
Compression:
Stored size: 475 Bytes
Contents
class Zendesk2::Client class Real def get_ticket_comments(params={}) ticket_id = params["ticket_id"] request( :method => :get, :path => "/tickets/#{ticket_id}/comments.json" ) end end # Real class Mock def get_ticket_comments(params={}) ticket_id = params["ticket_id"] page(params, :ticket_comments, "/tickets/#{ticket_id}/comments.json", "comments") end end # Mock end
Version data entries
28 entries across 28 versions & 1 rubygems