Class: FinTS::Segment::HKSYN

Inherits:
BaseSegment show all
Defined in:
lib/fints/segment/hksyn.rb

Overview

HKSYN (Synchronisation) Section C.8.1.2

Constant Summary collapse

SYNC_MODE_NEW_CUSTOMER_ID =
0
SYNC_MODE_LAST_MSG_NUMBER =
1
SYNC_MODE_SIGNATURE_ID =
2

Instance Attribute Summary

Attributes inherited from BaseSegment

#segmentno

Instance Method Summary collapse

Methods inherited from BaseSegment

#to_s

Constructor Details

#initialize(segment_no, mode: SYNC_MODE_NEW_CUSTOMER_ID) ⇒ HKSYN

Returns a new instance of HKSYN.



10
11
12
13
# File 'lib/fints/segment/hksyn.rb', line 10

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