Sha256: 2a9fa96932167a821002438942ab938a42abdd1ecf4961182ed5247f4de7c13a

Contents?: true

Size: 534 Bytes

Versions: 16

Compression:

Stored size: 534 Bytes

Contents

module Eancom
  module Edifact
    class UNT < Segment
      TAG = 'UNT'.freeze
      TYPE = :footer.freeze

      def initialize(
        tag: nil,
        number_of_segments_in_message:,
        message_reference_number:
      )
        @tag = tag
        @number_of_segments_in_message = number_of_segments_in_message
        @message_reference_number = message_reference_number
        super(tag: tag || TAG)
      end

      def to_json_hash
        {}
      end

      def segment_type
        TYPE
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
eancom-1.6.3 lib/eancom/edifact/segments/unt.rb
eancom-1.6.2 lib/eancom/edifact/segments/unt.rb
eancom-1.6.0 lib/eancom/edifact/segments/unt.rb
eancom-1.5.7 lib/eancom/edifact/segments/unt.rb
eancom-1.5.6 lib/eancom/edifact/segments/unt.rb
eancom-1.5.5 lib/eancom/edifact/segments/unt.rb
eancom-1.5.4 lib/eancom/edifact/segments/unt.rb
eancom-1.5.2 lib/eancom/edifact/segments/unt.rb
eancom-1.5.1 lib/eancom/edifact/segments/unt.rb
eancom-1.5.0 lib/eancom/edifact/segments/unt.rb
eancom-1.4.0 lib/eancom/edifact/segments/unt.rb
eancom-1.3.0 lib/eancom/edifact/segments/unt.rb
eancom-1.2.0 lib/eancom/edifact/segments/unt.rb
eancom-1.1.1 lib/eancom/edifact/segments/unt.rb
eancom-1.1.0 lib/eancom/edifact/segments/unt.rb
eancom-2.0.0 lib/eancom/edifact/segments/unt.rb