Module: Moneybird::Traits::DownloadPdf

Included in:
Service::SalesInvoice
Defined in:
lib/moneybird/traits/download_pdf.rb

Instance Method Summary collapse

Instance Method Details

#download_pdf(id) ⇒ Object



4
5
6
# File 'lib/moneybird/traits/download_pdf.rb', line 4

def download_pdf(id)
  client.get("#{path}/#{id}/download_pdf")
end