Class: Agris::Api::Grain::NewTicketRemark
- Inherits:
-
Object
- Object
- Agris::Api::Grain::NewTicketRemark
- 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
-
#record_type ⇒ Object
readonly
Returns the value of attribute record_type.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ NewTicketRemark
constructor
A new instance of NewTicketRemark.
Methods included from XmlModel
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_type ⇒ Object (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 |