lib/amember_pro/invoice_payments.rb
module AmemberPro
class InvoicePayments
def self.get(params={})
connection(Method::GET, params).body
end
def self.to_s
'invoice-payments'
end
private
def self.connection(method, params={})
AmemberPro.params = params
AmemberPro.method = method
AmemberPro.connection(self)
end
end
end