module HelpDeskAPI::Comments

Public Class Methods

comments(ticket_id) click to toggle source
# File lib/helpdeskapi/comments.rb, line 6
def self.comments(ticket_id)
  HelpDeskAPI::Utilities.parse_response HelpDeskAPI::Request.request('GET', HelpDeskAPI::Endpoints::TICKETS + "/#{ticket_id}/comments"), 'ticket_comments', Comment
end