examples/subscriptions/create.rb in mollie-api-ruby-4.0.0 vs examples/subscriptions/create.rb in mollie-api-ruby-4.0.1
- old
+ new
@@ -1,8 +1,8 @@
subscription = Mollie::Customer::Subscription.create(
- customer_id: "cst_5a2pPrwaWy",
- amount: { value: "20.00", currency: "EUR" },
+ customer_id: 'cst_5a2pPrwaWy',
+ amount: { value: '20.00', currency: 'EUR' },
times: 4,
- interval: "3 months",
- description: "Quarterly payment",
- webhook_url: "https://webshop.example.org/payments/webhook/"
+ interval: '3 months',
+ description: 'Quarterly payment',
+ webhook_url: 'https://webshop.example.org/payments/webhook/'
)