Sha256: 96106bb2053cca35587e60dd5bd5a35701492bc3780245051037dd5257c5cfef
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
require 'open-uri' module Mollie module API module Resource class Customers class Subscriptions < Base @parent_id = nil def getResourceObject Mollie::API::Object::Subscription end def getResourceName customer_id = URI::encode(@parent_id) "customers/#{parent_id}/subscriptions" end def with(customer) @parent_id = customer.id self end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mollie-api-ruby-1.4.1 | lib/Mollie/API/Resource/Customers/Subscriptions.rb |
mollie-api-ruby-1.4.0 | lib/Mollie/API/Resource/Customers/Subscriptions.rb |