Sha256: f50203bca7ff1c993637796e698b355ab17a6b2571bd33878f4657cd9469548b

Contents?: true

Size: 448 Bytes

Versions: 7

Compression:

Stored size: 448 Bytes

Contents

require 'avatax/engine'

module Avatax

  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(&block)
    {
        :layout => layout || 'avatax/layouts/avatax_application',
    }
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
killbill-avatax-2.0.0 lib/avatax.rb
killbill-avatax-1.0.0 lib/avatax.rb
killbill-avatax-0.2.0 lib/avatax.rb
killbill-avatax-0.1.0 lib/avatax.rb
killbill-avatax-0.0.3 lib/avatax.rb
killbill-avatax-0.0.2 lib/avatax.rb
killbill-avatax-0.0.1 lib/avatax.rb