Class: CommandTower::Me::PhoneVerification::VerificationsController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- CommandTower::Me::PhoneVerification::VerificationsController
- Defined in:
- app/controllers/command_tower/me/phone_verification/verifications_controller.rb
Constant Summary
Constants inherited from ApplicationController
ApplicationController::AUTHENTICATION_EXPIRE_HEADER, ApplicationController::AUTHENTICATION_HEADER, ApplicationController::AUTHENTICATION_WITH_RESET
Instance Method Summary collapse
Methods inherited from ApplicationController
#authenticate_user!, #authenticate_user_without_email_verification!, #authorize_user!, #current_user, #safe_boolean
Instance Method Details
#create ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/controllers/command_tower/me/phone_verification/verifications_controller.rb', line 13 def create result = CommandTower::Workflows::Me::PhoneVerification::SendWorkflow.call( current_user: current_user, auth_context: current_auth_context ) render_application_result(result) end |