Sha256: 6b795e5cf44f9f9d850b321db08aa021edba133d49bac165bdfc7836669d30a7
Contents?: true
Size: 551 Bytes
Versions: 3
Compression:
Stored size: 551 Bytes
Contents
module Eancom module Edifact class UNS < Segment TAG = 'UNS'.freeze TYPE = :body.freeze def initialize( tag: nil, section_identification: ) @tag = tag @section_identification = section_identification super(tag: tag || TAG) end def to_json_hash hash = {} # hash.merge!(section_identification: find_identifier(:section_identification)) if @section_identification hash end def segment_type TYPE end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eancom-1.6.3 | lib/eancom/edifact/segments/uns.rb |
eancom-1.6.2 | lib/eancom/edifact/segments/uns.rb |
eancom-1.6.0 | lib/eancom/edifact/segments/uns.rb |