Class: Agris::Api::Inventory::SpecificOrderExtract

Inherits:
Object
  • Object
show all
Includes:
XmlModel
Defined in:
lib/agris/api/inventory/specific_order_extract.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlModel

included

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_locationObject

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_numberObject

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_typeObject

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