lib/eancom/edifact/segments/uns.rb in eancom-1.6.3 vs lib/eancom/edifact/segments/uns.rb in eancom-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
module Eancom
module Edifact
class UNS < Segment
TAG = 'UNS'.freeze
- TYPE = :body.freeze
+ TYPE = :header.freeze
def initialize(
tag: nil,
section_identification:
)
@@ -12,9 +12,12 @@
@section_identification = section_identification
super(tag: tag || TAG)
end
+ '''
+ Why is line 22 commented?
+ '''
def to_json_hash
hash = {}
# hash.merge!(section_identification: find_identifier(:section_identification)) if @section_identification
hash
end