class Freshdesk::Tickets
Constants
- TICKETS_PROPERTIES
Public Instance Methods
search(options)
click to toggle source
# File lib/freshdesk/api/v2/tickets.rb, line 14 def search(options) response = client.get("/search/#{resource_name}?query=\"#{options[:query]}\"",options.except!(:query)) response.parsed_response["results"].map { |source| self.class.new(source) } if response.success? end