Class: Beanie::PurchaseOrder
Instance Attribute Summary collapse
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#date ⇒ Object
Returns the value of attribute date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#number ⇒ Object
Returns the value of attribute number.
-
#supplier_id ⇒ Object
Returns the value of attribute supplier_id.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ PurchaseOrder
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ PurchaseOrder
Initialize instance variables
37 38 39 40 41 42 43 44 |
# File 'lib/beanie/purchase_order.rb', line 37 def initialize @id = nil @date = nil @number = nil @title = nil @currency = nil @supplier_id = nil end |
Instance Attribute Details
#currency ⇒ Object
Returns the value of attribute currency.
33 34 35 |
# File 'lib/beanie/purchase_order.rb', line 33 def currency @currency end |
#date ⇒ Object
Returns the value of attribute date.
32 33 34 |
# File 'lib/beanie/purchase_order.rb', line 32 def date @date end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/purchase_order.rb', line 32 def id @id end |
#number ⇒ Object
Returns the value of attribute number.
32 33 34 |
# File 'lib/beanie/purchase_order.rb', line 32 def number @number end |
#supplier_id ⇒ Object
Returns the value of attribute supplier_id.
33 34 35 |
# File 'lib/beanie/purchase_order.rb', line 33 def supplier_id @supplier_id end |
#title ⇒ Object
Returns the value of attribute title.
32 33 34 |
# File 'lib/beanie/purchase_order.rb', line 32 def title @title end |