Sha256: 47ccac246943a6044b16c72507dc92aa287ecee61c1a26682535bac850510b33
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
module Eancom module Edifact class DOC < Segment TAG = 'DOC'.freeze TYPE = :header attr_reader :segment_type def initialize( tag: nil, document_name_code: ) @tag = tag @document_name_code = document_name_code super(tag: tag || TAG) end def to_json_hash { document_name_code: @document_name_code } end def segment_type TYPE end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eancom-2.0.0 | lib/eancom/edifact/segments/doc.rb |