Module: XmlConv::Model::FreeTextContainer
- Included in:
- Item, Transaction
- Defined in:
- lib/xmlconv/model/freetext_container.rb
Instance Attribute Summary collapse
-
#free_text ⇒ Object
Returns the value of attribute free_text.
Instance Method Summary collapse
Instance Attribute Details
#free_text ⇒ Object
Returns the value of attribute free_text.
17 18 19 |
# File 'lib/xmlconv/model/freetext_container.rb', line 17 def free_text @free_text end |
Instance Method Details
#add_free_text(type, text) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/xmlconv/model/freetext_container.rb', line 18 def add_free_text(type, text) @free_text ||= FreeText.new @free_text.type = type @free_text << text.to_s @free_text end |