Class: WcoHosting::SubscriptionsController
- Inherits:
-
ApplicationController
- Object
- Wco::ApplicationController
- ApplicationController
- WcoHosting::SubscriptionsController
- Defined in:
- app/controllers/wco_hosting/subscriptions_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#create ⇒ Object
4 5 6 7 8 9 |
# File 'app/controllers/wco_hosting/subscriptions_controller.rb', line 4 def create Stripe::Subscription.create({ customer: 'cus_Na6dX7aXxi11N4', items: [{price: 'price_1MowQULkdIwHu7ixraBm864M'}], }) end |