Class: MangoPay::PayIn::RecurringPayments::Recurring

Inherits:
Resource
  • Object
show all
Includes:
HTTPCalls::Create, HTTPCalls::Fetch, HTTPCalls::Update
Defined in:
lib/mangopay/pay_in.rb

Class Method Summary collapse

Methods included from HTTPCalls::Update

included

Methods included from HTTPCalls::Fetch

included, parse_id_or_filters

Methods included from HTTPCalls::Create

included

Methods inherited from Resource

class_name

Class Method Details

.url(*args) ⇒ Object



168
169
170
171
172
173
174
# File 'lib/mangopay/pay_in.rb', line 168

def self.url(*args)
  if args.any?
    "#{MangoPay.api_path}/recurringpayinregistrations/#{args.first}"
  else
    "#{MangoPay.api_path}/recurringpayinregistrations"
  end
end