Class: Datanorm::Lines::V5::Dimension
- Defined in:
- lib/datanorm/lines/v5/dimension.rb
Overview
Immediate product description texts. Should take precedence over Text records.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#as_json, #encode, inherited, #initialize, #record_kind, #to_json
Constructor Details
This class inherits a constructor from Datanorm::Lines::Base
Instance Method Details
#content ⇒ Object
16 17 18 |
# File 'lib/datanorm/lines/v5/dimension.rb', line 16 def content to_s end |
#id ⇒ Object
12 13 14 |
# File 'lib/datanorm/lines/v5/dimension.rb', line 12 def id encode columns[2] end |
#to_s ⇒ Object
8 9 10 |
# File 'lib/datanorm/lines/v5/dimension.rb', line 8 def to_s "[#{id}] DIMENSION-5 - #{columns}" end |