Class: Beanie::Supplier

Inherits:
Api
  • Object
show all
Defined in:
lib/beanie/supplier.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeSupplier

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

#balanceObject

Returns the value of attribute balance.



32
33
34
# File 'lib/beanie/supplier.rb', line 32

def balance
  @balance
end

#currencyObject

Returns the value of attribute currency.



33
34
35
# File 'lib/beanie/supplier.rb', line 33

def currency
  @currency
end

#idObject

Returns the value of attribute id.



32
33
34
# File 'lib/beanie/supplier.rb', line 32

def id
  @id
end

#lead_timeObject

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_amountObject

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

#stateObject

Returns the value of attribute state.



32
33
34
# File 'lib/beanie/supplier.rb', line 32

def state
  @state
end

#supplier_vatObject

Returns the value of attribute supplier_vat.



32
33
34
# File 'lib/beanie/supplier.rb', line 32

def supplier_vat
  @supplier_vat
end

#termsObject

Returns the value of attribute terms.



32
33
34
# File 'lib/beanie/supplier.rb', line 32

def terms
  @terms
end