Class: Beanie::Supplier
Instance Attribute Summary collapse
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lead_time ⇒ Object
Returns the value of attribute lead_time.
-
#minimum_order_amount ⇒ Object
Returns the value of attribute minimum_order_amount.
-
#state ⇒ Object
Returns the value of attribute state.
-
#supplier_vat ⇒ Object
Returns the value of attribute supplier_vat.
-
#terms ⇒ Object
Returns the value of attribute terms.
Instance Method Summary collapse
-
#initialize ⇒ Supplier
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 ⇒ Supplier
Initialize instance variables
37 38 39 40 41 42 43 44 45 46 |
# File 'lib/beanie/supplier.rb', line 37 def initialize @id = nil @balance = nil @state = nil @supplier_vat = nil @terms = nil @lead_time = nil @minimum_order_amount = nil @currency = nil end |
Instance Attribute Details
#balance ⇒ Object
Returns the value of attribute balance.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def balance @balance end |
#currency ⇒ Object
Returns the value of attribute currency.
33 34 35 |
# File 'lib/beanie/supplier.rb', line 33 def currency @currency end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def id @id end |
#lead_time ⇒ Object
Returns the value of attribute lead_time.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def lead_time @lead_time end |
#minimum_order_amount ⇒ Object
Returns the value of attribute minimum_order_amount.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def minimum_order_amount @minimum_order_amount end |
#state ⇒ Object
Returns the value of attribute state.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def state @state end |
#supplier_vat ⇒ Object
Returns the value of attribute supplier_vat.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def supplier_vat @supplier_vat end |
#terms ⇒ Object
Returns the value of attribute terms.
32 33 34 |
# File 'lib/beanie/supplier.rb', line 32 def terms @terms end |