Class: Agris::Api::Grain::NewTicketRemark

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

Constant Summary collapse

ATTRIBUTE_NAMES =
%w(
  number
  value
).freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from XmlModel

included

Constructor Details

#initialize(hash = {}) ⇒ NewTicketRemark

Returns a new instance of NewTicketRemark.



15
16
17
18
19
# File 'lib/agris/api/grain/new_ticket_remark.rb', line 15

def initialize(hash = {})
  super

  @record_type = 'GRNT2'
end

Instance Attribute Details

#record_typeObject (readonly)

Returns the value of attribute record_type.



13
14
15
# File 'lib/agris/api/grain/new_ticket_remark.rb', line 13

def record_type
  @record_type
end