Class: ClioClient::Bill

Inherits:
Resource show all
Defined in:
lib/clio_client/models/bill.rb

Instance Attribute Summary

Attributes inherited from Resource

#session

Instance Method Summary collapse

Methods inherited from Resource

#==, #[], #destroy, has_association, has_many_association, inherited, #initialize, #inspect, inspect, #reload, #save, set_attributes, #to_params

Constructor Details

This class inherits a constructor from ClioClient::Resource

Instance Method Details

#pdfObject



33
34
35
36
37
# File 'lib/clio_client/models/bill.rb', line 33

def pdf
  unless self.id.nil?
    api.download(self.id)
  end
end