Sha256: 23bcaf02c904738c95e7ec55c9258d3378c4c71ae0f16d12f40703cb4b2ae1ca

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

module FinTS
  module Segment
    # HNVSD (Verschlüsselte Daten)
    # Section B.5.4
    class HNVSD < BaseSegment
      attr_reader :encoded_data

      def initialize(segno, encoded_data)
        @encoded_data = encoded_data
        data = ["@#{encoded_data.length}@#{encoded_data}"]
        super(segno, data)
      end

      def set_data(encoded_data)
        @encoded_data = encoded_data
        @data = ["@#{encoded_data.length}@#{encoded_data}"]
      end

      protected

      def type
        'HNVSD'
      end
      
      def version
        1
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_fints-0.0.4 lib/fints/segment/hnvsd.rb
ruby_fints-0.0.3 lib/fints/segment/hnvsd.rb
ruby_fints-0.0.2 lib/fints/segment/hnvsd.rb