require 'singleton' module BanksterClient class Configuration include Singleton attr_accessor :api, :api_key def credentials=(credentials) @hbci_credentials = Bankster::BankCredentials::Hbci.new(credentials) end def credentials @hbci_credentials end end end