Class: TicketEvolution::FilteredTickets
- Defined in:
- lib/ticket_evolution/filtered_tickets.rb
Constant Summary
Constants included from Endpoint::RequestHandler
Endpoint::RequestHandler::CODES
Instance Method Summary collapse
Methods inherited from Endpoint
#base_path, #connection, #endpoint_name, #has_connection?, #id, #initialize, #method_missing
Methods included from SingularClass
Methods included from Endpoint::RequestHandler
#build_request, #collection_handler, #naturalize_response, #raw_handler, #request, #upload_history_handler
Methods inherited from Base
Constructor Details
This class inherits a constructor from TicketEvolution::Endpoint
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TicketEvolution::Endpoint
Instance Method Details
#held(params) ⇒ Object
7 8 9 10 |
# File 'lib/ticket_evolution/filtered_tickets.rb', line 7 def held(params) handler ||= method(:collection_handler) request(:GET, '/held', params, &handler) end |
#taken(params) ⇒ Object
3 4 5 6 |
# File 'lib/ticket_evolution/filtered_tickets.rb', line 3 def taken(params) handler ||= method(:collection_handler) request(:GET, '/taken', params, &handler) end |