Class: Billogram::Item
- Defined in:
- lib/billogram/resources/item.rb
Constant Summary
Constants inherited from Resource
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#item_no ⇒ Object
Returns the value of attribute item_no.
-
#price ⇒ Object
Returns the value of attribute price.
-
#title ⇒ Object
Returns the value of attribute title.
-
#unit ⇒ Object
Returns the value of attribute unit.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#vat ⇒ Object
Returns the value of attribute vat.
Method Summary
Methods inherited from Resource
build_objects, create, delete, #delete, endpoint, #endpoint, fetch, #initialize, #perform_request, perform_request, relation, relations, search, #to_json, #update, update
Constructor Details
This class inherits a constructor from Billogram::Resource
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def description @description end |
#item_no ⇒ Object
Returns the value of attribute item_no.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def item_no @item_no end |
#price ⇒ Object
Returns the value of attribute price.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def price @price end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def title @title end |
#unit ⇒ Object
Returns the value of attribute unit.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def unit @unit end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def updated_at @updated_at end |
#vat ⇒ Object
Returns the value of attribute vat.
3 4 5 |
# File 'lib/billogram/resources/item.rb', line 3 def vat @vat end |