Class: Document
- Inherits:
-
Object
- Object
- Document
- Defined in:
- lib/bsale_api/document.rb
Instance Method Summary collapse
-
#initialize ⇒ Document
constructor
A new instance of Document.
- #object ⇒ Object
Constructor Details
#initialize ⇒ Document
Returns a new instance of Document.
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/bsale_api/document.rb', line 2 def initialize @object = { documentTypeId: 22, officeId: 1, priceListId: 1, emissionDate: 1407715200, expirationDate: 1407715200, declareSii: 1 } end |
Instance Method Details
#object ⇒ Object
13 14 15 |
# File 'lib/bsale_api/document.rb', line 13 def object @object end |