Class: Unit::TaxForm
- Inherits:
-
APIResource
- Object
- APIResource
- Unit::TaxForm
- Includes:
- ResourceOperations::Find, ResourceOperations::List
- Defined in:
- lib/unit-ruby/tax_form.rb
Instance Attribute Summary
Attributes inherited from APIResource
#id, #links, #raw_data, #relationships, #type
Instance Method Summary collapse
Methods included from ResourceOperations::Find
Methods included from ResourceOperations::List
Methods inherited from APIResource
#as_json_api, attribute, #attributes, belongs_to, build_resource_from_json_api, #clear_attributes!, connection, #dirty?, #dirty_attributes, has_many, header, headers, #initialize, #mark_as_clean!, #mark_attribute_as_dirty, path, resource_path, #resource_type, resources_path, #schema, schema, #update_attribute, #update_resource_from_json_api
Constructor Details
This class inherits a constructor from Unit::APIResource
Instance Method Details
#pdf ⇒ Object
11 12 13 14 15 16 |
# File 'lib/unit-ruby/tax_form.rb', line 11 def pdf self.class.connection.get( "tax-forms/#{id}/pdf", raw: true ) end |