class Agris::Api::NewOrder
Constants
- ATTRIBUTE_NAMES
Attributes
record_type[R]
Public Class Methods
new(hash = {})
click to toggle source
Calls superclass method
# File lib/agris/api/new_order.rb, line 64 def initialize(hash = {}) super @record_type = 'INVP0' end
Public Instance Methods
add_remark(remark)
click to toggle source
# File lib/agris/api/new_order.rb, line 70 def add_remark(remark) @remarks ||= [] @remarks << remark self end
remarks()
click to toggle source
# File lib/agris/api/new_order.rb, line 77 def remarks @remarks || [] end
xml_ignore_attributes()
click to toggle source
# File lib/agris/api/new_order.rb, line 81 def xml_ignore_attributes [:remarks] end