module FacturapiRuby::Files
Public Class Methods
pdf(options)
click to toggle source
# File lib/facturapi_ruby/files.rb, line 6 def pdf(options) HttpClient.get_file( endpoint: "/invoices/#{options[:invoice_id]}/pdf", file_ext: '.pdf' ) end
xml(options)
click to toggle source
# File lib/facturapi_ruby/files.rb, line 13 def xml(options) HttpClient.get_file( endpoint: "/invoices/#{options[:invoice_id]}/xml", file_ext: '.xml' ) end