Class: Stormpath::Rails::Google::CreateController
- Inherits:
-
SocialController
- Object
- ApplicationController
- BaseController
- SocialController
- Stormpath::Rails::Google::CreateController
- Defined in:
- app/controllers/stormpath/rails/google/create_controller.rb
Instance Method Summary collapse
Methods inherited from SocialController
#login_the_account, #respond_with_error, #respond_with_success
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/controllers/stormpath/rails/google/create_controller.rb', line 5 def call begin login_the_account(account) respond_with_success rescue InvalidSptokenError, NoSptokenError => error respond_with_error(error) end end |