Class: TicketEvolution::Credentials

Inherits:
Endpoint show all
Includes:
Modules::List
Defined in:
lib/ticket_evolution/credentials.rb

Constant Summary

Constants included from Endpoint::RequestHandler

Endpoint::RequestHandler::CODES

Instance Method Summary collapse

Methods included from Modules::List

#list, #raw

Methods inherited from Endpoint

#base_path, #connection, #endpoint_name, #has_connection?, #id, #initialize, #method_missing

Methods included from SingularClass

#singular_class

Methods included from Endpoint::RequestHandler

#build_request, #collection_handler, #naturalize_response, #raw_handler, #request, #upload_history_handler

Methods inherited from Base

#method_missing

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

#me(params = {}) ⇒ Object



5
6
7
8
# File 'lib/ticket_evolution/credentials.rb', line 5

def me(params = {})
  handler ||= method(:raw_handler)
  request(:GET, '/me', params, &handler)
end