Class: Hbci::Segments::HKIDNv2

Inherits:
Hbci::Segment show all
Defined in:
lib/hbci/segments/hkidn.rb

Instance Attribute Summary

Attributes inherited from Hbci::Segment

#defined_element_groups, #dialog, #element_groups, #message, #request_message

Instance Method Summary collapse

Methods inherited from Hbci::Segment

#build, element, element_group, element_groups_to_be_defined, fill, #initialize, #to_s

Constructor Details

This class inherits a constructor from Hbci::Segment

Instance Method Details

#compileObject



15
16
17
18
19
# File 'lib/hbci/segments/hkidn.rb', line 15

def compile
  bank.code = request_message.connector.credentials.bank_code
  self.user_id = request_message.connector.credentials.user_id
  self.system_id = request_message.dialog ? request_message.dialog.system_id : 0
end