Class: TicketEvolution::Clients
- Includes:
- Modules::Create, Modules::List, Modules::Show, Modules::Update
- Defined in:
- lib/ticket_evolution/clients.rb,
lib/ticket_evolution/clients/addresses.rb,
lib/ticket_evolution/clients/credit_cards.rb,
lib/ticket_evolution/clients/phone_numbers.rb,
lib/ticket_evolution/clients/email_addresses.rb
Defined Under Namespace
Classes: Addresses, CreditCards, EmailAddresses, PhoneNumbers
Constant Summary
Constants included from Endpoint::RequestHandler
Endpoint::RequestHandler::CODES
Instance Method Summary collapse
Methods included from Modules::Update
#build_for_update, included, #update
Methods included from Modules::Show
Methods included from Modules::List
Methods included from Modules::Create
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
#create_from_office(params = nil) ⇒ Object
8 9 10 |
# File 'lib/ticket_evolution/clients.rb', line 8 def create_from_office(params = nil) request(:POST, "/create_from_office/#{params[:office_id]}", nil, &method(:build_for_show)) end |