Sha256: da48f830a982fda403cbe6c38bfe0d158d8e7d697fef0c97c61d6a9d200a6935

Contents?: true

Size: 454 Bytes

Versions: 5

Compression:

Stored size: 454 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

5 entries across 5 versions & 1 rubygems

Version Path
killbill-kpm-ui-3.0.3 lib/kpm.rb
killbill-kpm-ui-3.0.2 lib/kpm.rb
killbill-kpm-ui-2.1.1 lib/kpm.rb
killbill-kpm-ui-3.0.1 lib/kpm.rb
killbill-kpm-ui-2.0.2 lib/kpm.rb