Class: StripeWrapper::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
StripeWrapperHelper
Defined in:
app/controllers/stripe_wrapper/application_controller.rb

Direct Known Subclasses

ChargesController, CustomersController

Instance Method Summary collapse

Methods included from StripeWrapperHelper

#stripe_get_amount, #stripe_pay, #stripe_set_amount, #stripe_wrapper_path

Instance Method Details

#main_app_current_userObject



6
7
8
# File 'app/controllers/stripe_wrapper/application_controller.rb', line 6

def main_app_current_user
  @current_user = current_user rescue nil
end