Sha256: 450299bca1371f17495ae31d58fa2680a1795320a6eb2bf9efd8903552240cc0

Contents?: true

Size: 485 Bytes

Versions: 7

Compression:

Stored size: 485 Bytes

Contents

require "kanaui/engine"

module Kanaui

  mattr_accessor :current_tenant_user
  mattr_accessor :kanaui_current_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(&block)
    {
        :layout => layout || 'kanaui/layouts/kanaui_application',
    }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kanaui-0.3.0 lib/kanaui.rb
kanaui-0.2.0 lib/kanaui.rb
kanaui-0.1.0 lib/kanaui.rb
kanaui-0.0.4 lib/kanaui.rb
kanaui-0.0.3 lib/kanaui.rb
kanaui-0.0.2 lib/kanaui.rb
kanaui-0.0.1 lib/kanaui.rb