Sha256: a1c967f570adb83a03567c8736fd5fb667856561b49883e3c3b14b8e48705307

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

module FinTS
  module Segment
    # HKSYN (Synchronisation)
    # Section C.8.1.2
    class HKSYN < BaseSegment
      SYNC_MODE_NEW_CUSTOMER_ID = 0
      SYNC_MODE_LAST_MSG_NUMBER = 1
      SYNC_MODE_SIGNATURE_ID = 2

      def initialize(segment_no, mode: SYNC_MODE_NEW_CUSTOMER_ID)
        data = [mode]
        super(segment_no, data)
      end

      protected

      def type
        'HKSYN'
      end
      
      def version
        3
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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