Sha256: 02e7ae1aa7b75ffac64fca3610fc1138d0d0b46f44ab7ac30087998a490fe6f0
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
module Eancom module Edifact class TRU < Segment TAG = 'TRU'.freeze TYPE = :body attr_reader :segment_type def initialize( tag: nil, object_identifier: ) @tag = tag @object_identifier = object_identifier super(tag: tag || TAG) end def to_json_hash hash = {} hash.merge!(object_identifier: @object_identifier) hash 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/tru.rb |