Class: BankCredentials::Hbci
Defined Under Namespace
Modules: Errors
Constant Summary collapse
- BANK_LIST =
File.join(File.dirname(__FILE__), '../bank_list.json')
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #bank ⇒ Object
-
#initialize(credential_hash, options = {}) ⇒ Hbci
constructor
A new instance of Hbci.
Methods inherited from Base
attribute, attributes, #attributes, #encode, #to_json, type, #valid?, #validate!
Constructor Details
#initialize(credential_hash, options = {}) ⇒ Hbci
Returns a new instance of Hbci.
32 33 34 35 36 |
# File 'lib/bank_credentials/hbci.rb', line 32 def initialize(credential_hash, = {}) super @bank_list = nil @credentials[:url] = bank['pinTanURL'] unless @credentials[:url] end |