Sha256: 89a72b62813c9075bbee4add16964b2924063fbec121507ae56c99106805778b

Contents?: true

Size: 496 Bytes

Versions: 5

Compression:

Stored size: 496 Bytes

Contents

require "payment_test/engine"

module PaymentTest

  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 || 'payment_test/layouts/payment_test_application',
    }
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
killbill-payment-test-ui-2.0.0 lib/payment_test.rb
killbill-payment-test-ui-1.0.0 lib/payment_test.rb
killbill-payment-test-ui-0.1.0 lib/payment_test.rb
killbill-payment-test-ui-0.0.2 lib/payment_test.rb
killbill-payment-test-0.0.1 lib/payment_test.rb