Class: Beanie::BomItem
Instance Attribute Summary collapse
-
#designators ⇒ Object
Returns the value of attribute designators.
-
#id ⇒ Object
Returns the value of attribute id.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#stock_item_id ⇒ Object
Returns the value of attribute stock_item_id.
Instance Method Summary collapse
-
#initialize ⇒ BomItem
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 ⇒ BomItem
Initialize instance variables
36 37 38 39 40 41 42 |
# File 'lib/beanie/bom_item.rb', line 36 def initialize @id = nil @stock_item_id = nil @quantity = nil @notes = nil @designators = nil end |
Instance Attribute Details
#designators ⇒ Object
Returns the value of attribute designators.
32 33 34 |
# File 'lib/beanie/bom_item.rb', line 32 def designators @designators end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/bom_item.rb', line 32 def id @id end |
#notes ⇒ Object
Returns the value of attribute notes.
32 33 34 |
# File 'lib/beanie/bom_item.rb', line 32 def notes @notes end |
#quantity ⇒ Object
Returns the value of attribute quantity.
32 33 34 |
# File 'lib/beanie/bom_item.rb', line 32 def quantity @quantity end |
#stock_item_id ⇒ Object
Returns the value of attribute stock_item_id.
32 33 34 |
# File 'lib/beanie/bom_item.rb', line 32 def stock_item_id @stock_item_id end |