Class: Devise::PaypalPermissionsAuthableController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Devise::PaypalPermissionsAuthableController
- Includes:
- Controllers::InternalHelpers, DevisePaypal::Controllers::InternalHelpers, Paypal::Permissions
- Defined in:
- app/controllers/devise/paypal_permissions_authable_controller.rb
Instance Method Summary collapse
-
#callback_action ⇒ Object
GET /resource/paypal_permissions_authable/callback.
-
#new ⇒ Object
GET /resource/paypal_authorize_with_permissions.
Instance Method Details
#callback_action ⇒ Object
GET /resource/paypal_permissions_authable/callback
15 16 17 18 |
# File 'app/controllers/devise/paypal_permissions_authable_controller.rb', line 15 def callback_action paypal_user_details = (params[:token]) if params[:token] handle_callback_action(paypal_user_details) end |
#new ⇒ Object
GET /resource/paypal_authorize_with_permissions
8 9 10 11 12 |
# File 'app/controllers/devise/paypal_permissions_authable_controller.rb', line 8 def new ||= {} callback_url = redirect_to (callback_url, ) end |