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



196
197
198
199
200
201
202
# File 'lib/mangopay/pay_in.rb', line 196

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