Class: Agris::Api::NewOrderRemark
- Inherits:
-
Object
- Object
- Agris::Api::NewOrderRemark
- Includes:
- XmlModel
- Defined in:
- lib/agris/api/new_order_remark.rb
Constant Summary collapse
- ATTRIBUTE_NAMES =
%w( number order_line value ).freeze
Instance Attribute Summary collapse
-
#record_type ⇒ Object
readonly
Returns the value of attribute record_type.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ NewOrderRemark
constructor
A new instance of NewOrderRemark.
Methods included from XmlModel
Constructor Details
#initialize(hash = {}) ⇒ NewOrderRemark
Returns a new instance of NewOrderRemark.
15 16 17 18 19 |
# File 'lib/agris/api/new_order_remark.rb', line 15 def initialize(hash = {}) super @record_type = 'INVP3' end |
Instance Attribute Details
#record_type ⇒ Object (readonly)
Returns the value of attribute record_type.
13 14 15 |
# File 'lib/agris/api/new_order_remark.rb', line 13 def record_type @record_type end |