Class: Fortnox::API::Model::Document
- Inherits:
-
Base
- Object
- Dry::Struct
- Types::Model
- Base
- Fortnox::API::Model::Document
- Defined in:
- lib/fortnox/api/models/document.rb
Overview
This model is the shared attributes for Offer, Order and Invoice, the three “docuemnt models” in Fortnox. In the Fortnox implementation these are so close together that they are saved in the same database table. This is never used standalone, only included in the respective models.
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods inherited from Base
#==, attribute, #attributes, new, #new?, #parent?, preserve_meta_properties, #saved?, stub, #to_hash, #unique_id, #update
Methods inherited from Types::Model
Constructor Details
This class inherits a constructor from Fortnox::API::Types::Model