Class: Hbci::Segments::HNSHAv2

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

Overview

Signature Closing Segment

Counterpart of the Signature Opening (HNSHK)

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



25
26
27
28
# File 'lib/hbci/segments/hnsha.rb', line 25

def compile
  self.security_reference = request_message.sec_ref
  signature.pin = Connector.instance.credentials.pin
end