Class: Api::V1::TicketManagerController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Api::V1::TicketManagerController
- Defined in:
- app/controllers/api/v1/ticket_manager_controller.rb
Instance Method Summary collapse
Instance Method Details
#open_ticket ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/controllers/api/v1/ticket_manager_controller.rb', line 7 def open_ticket return ticket_already_opened_response unless ticket_nil? return ticket_already_opened_response if ticket_active? return terms_not_confirmed_response unless ticket_params_confirmed? create_ticket if acceptable_create? ticket_opened_response end |