Sha256: 557da279951d8a72a646122061f740daa3ba271b7b3be3142217b1148a33e29a

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

module FinTS
  class PinTanClient < Client
    def initialize(blz, username, pin, server)
      @blz = blz
      @username = username
      @pin = pin
      @connection = HTTPSConnection.new(server)
      @system_id = 0
      super()
    end

    protected

    def new_dialog
      Dialog.new(@blz, @username, @pin, @system_id, @connection)
    end

    def new_message(dialog, segments)
      Message.new(@blz, @username, @pin, dialog.system_id, dialog.dialog_id, dialog.msg_no, segments, dialog.tan_mechs)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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