Method: Harvest::API::InvoicePayments#all

Defined in:
lib/forecast/api/invoice_payments.rb

#all(invoice) ⇒ Object



7
8
9
10
# File 'lib/forecast/api/invoice_payments.rb', line 7

def all(invoice)
  response = request(:get, credentials, "/invoices/#{invoice.to_i}/payments")
  api_model.parse(response.parsed_response)
end