lib/eancom/edifact/segments/tdt.rb in eancom-1.6.3 vs lib/eancom/edifact/segments/tdt.rb in eancom-2.0.0

- old
+ new

@@ -41,10 +41,13 @@ super(tag: tag || TAG) end def to_json_hash - {} + hash = {} + hash.merge!(transport_stage_code_qualifier: find_identifier(:transport_stage_code_qualifier)) if @transport_stage_code_qualifier + hash.merge!(transport_mode_name_code: find_identifier(:transport_mode_name_code)) if @transport_mode_name_code + hash end def segment_type TYPE end