Sha256: 277c1e5317d50b28a335303f54941cebf1f141c08daeacd9fb355659cf131bc2

Contents?: true

Size: 472 Bytes

Versions: 2

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

require 'kpm/engine'

module KPM
  mattr_accessor :current_tenant_user
  mattr_accessor :layout

  self.current_tenant_user = lambda { |_session, _user|
    {
      :username => 'admin',
      :password => 'password',
      :session_id => nil,
      :api_key => KillBillClient.api_key,
      :api_secret => KillBillClient.api_secret
    }
  }

  def self.config
    {
      :layout => layout || 'kpm/layouts/kpm_application'
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
killbill-kpm-ui-2.0.1 lib/kpm.rb
killbill-kpm-ui-2.0.0 lib/kpm.rb