Sha256: 98f4b523c06dd52daa4bdde1e7b9e0051fe25dfaec4a2c4e0555180e8b19315a
Contents?: true
Size: 701 Bytes
Versions: 4
Compression:
Stored size: 701 Bytes
Contents
# frozen_string_literal: true require 'deposit/engine' module Deposit mattr_accessor :current_tenant_user mattr_accessor :layout mattr_accessor :deposit_types self.current_tenant_user = lambda { |_session, _user| { username: KillBillClient.username || 'admin', password: KillBillClient.password || 'password', session_id: nil, api_key: KillBillClient.api_key, api_secret: KillBillClient.api_secret } } def self.config { layout: layout || 'deposit/layouts/deposit_application' } end # Default deposit types self.deposit_types = %w[Wire Check Cash OTHER] end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
killbill-deposit-1.0.3 | lib/deposit.rb |
killbill-deposit-1.0.2 | lib/deposit.rb |
killbill-deposit-0.1.1 | lib/deposit.rb |
killbill-deposit-1.0.1 | lib/deposit.rb |