lib/Mollie/API/Resource/Customers/Subscriptions.rb in mollie-api-ruby-1.4.1 vs lib/Mollie/API/Resource/Customers/Subscriptions.rb in mollie-api-ruby-1.4.2
- old
+ new
@@ -11,10 +11,10 @@
Mollie::API::Object::Subscription
end
def getResourceName
customer_id = URI::encode(@parent_id)
- "customers/#{parent_id}/subscriptions"
+ "customers/#{customer_id}/subscriptions"
end
def with(customer)
@parent_id = customer.id
self