class ActivePayment::Configuration

Attributes

default_url_host[RW]
ip_security[RW]
min_amount[RW]
paypal_appid[RW]
paypal_login[RW]
paypal_password[RW]
paypal_signature[RW]
test[RW]

Public Class Methods

new() click to toggle source
# File lib/active_payment/configuration.rb, line 8
def initialize
  @min_amount = 0
  @ip_security = false
  @test = false
end

Public Instance Methods

test=(value) click to toggle source
# File lib/active_payment/configuration.rb, line 14
def test=(value)
  @test = value and return if !!value == value

  @test = (value == 'true' ? true : false)
end