lib/deposit.rb in killbill-deposit-0.0.4 vs lib/deposit.rb in killbill-deposit-0.1.1
- old
+ new
@@ -7,11 +7,11 @@
mattr_accessor :layout
mattr_accessor :deposit_types
self.current_tenant_user = lambda { |_session, _user|
- { username: 'admin',
- password: 'password',
+ { username: KillBillClient.username || 'admin',
+ password: KillBillClient.password || 'password',
session_id: nil,
api_key: KillBillClient.api_key,
api_secret: KillBillClient.api_secret }
}