Class: Agris::Api::Inventory::SpecificOrderExtract
- Inherits:
-
Object
- Object
- Agris::Api::Inventory::SpecificOrderExtract
- Includes:
- XmlModel
- Defined in:
- lib/agris/api/inventory/specific_order_extract.rb
Instance Attribute Summary collapse
-
#order_location ⇒ Object
Returns the value of attribute order_location.
-
#order_number ⇒ Object
Returns the value of attribute order_number.
-
#order_type ⇒ Object
Returns the value of attribute order_type.
Instance Method Summary collapse
-
#initialize(order_location, order_number, order_type) ⇒ SpecificOrderExtract
constructor
A new instance of SpecificOrderExtract.
Methods included from XmlModel
Constructor Details
#initialize(order_location, order_number, order_type) ⇒ SpecificOrderExtract
Returns a new instance of SpecificOrderExtract.
10 11 12 13 14 |
# File 'lib/agris/api/inventory/specific_order_extract.rb', line 10 def initialize(order_location, order_number, order_type) @order_location = order_location @order_number = order_number @order_type = order_type end |
Instance Attribute Details
#order_location ⇒ Object
Returns the value of attribute order_location.
8 9 10 |
# File 'lib/agris/api/inventory/specific_order_extract.rb', line 8 def order_location @order_location end |
#order_number ⇒ Object
Returns the value of attribute order_number.
8 9 10 |
# File 'lib/agris/api/inventory/specific_order_extract.rb', line 8 def order_number @order_number end |
#order_type ⇒ Object
Returns the value of attribute order_type.
8 9 10 |
# File 'lib/agris/api/inventory/specific_order_extract.rb', line 8 def order_type @order_type end |