lib/mangopay/pay_in.rb in mangopay-3.4.0 vs lib/mangopay/pay_in.rb in mangopay-3.5.0

- old
+ new

@@ -124,7 +124,33 @@ "#{MangoPay.api_path}/payins/googlepay/#{CGI.escape(class_name.downcase)}" end end end + module RecurringPayments + class Recurring < Resource + include HTTPCalls::Create + + def self.url(*) + "#{MangoPay.api_path}/recurringpayinregistrations" + end + end + + class CIT < Resource + include HTTPCalls::Create + + def self.url(*) + "#{MangoPay.api_path}/payins/recurring/card/direct" + end + end + + class MIT < Resource + include HTTPCalls::Create + + def self.url(*) + "#{MangoPay.api_path}/payins/recurring/card/direct" + end + end + end + end end