Class: User::SubscriptionController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/phcdevworks_accounts_stripe/user/subscription_controller.rb

Instance Method Summary collapse

Instance Method Details

#user_subscription_cancelObject



14
15
# File 'app/controllers/phcdevworks_accounts_stripe/user/subscription_controller.rb', line 14

def user_subscription_cancel
end

#user_subscription_itemObject



9
10
11
12
# File 'app/controllers/phcdevworks_accounts_stripe/user/subscription_controller.rb', line 9

def user_subscription_item
    @user_subscription_item = Stripe::Subscription.list({customer: current_user.payments_customer_id})

end