Class: Hbci::Segments::HNHBKv3
- Inherits:
-
Hbci::Segment
- Object
- Hbci::Segment
- Hbci::Segments::HNHBKv3
- Defined in:
- lib/hbci/segments/hnhbk.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
#after_compile ⇒ Object
22 23 24 |
# File 'lib/hbci/segments/hnhbk.rb', line 22 def after_compile self. = .to_s.size.to_s.rjust(12, '0') end |
#compile ⇒ Object
16 17 18 19 20 |
# File 'lib/hbci/segments/hnhbk.rb', line 16 def compile self. = '000000000000' self.dialog_id = .dialog ? .dialog.id : 0 self. = Connector.instance. end |