Module: PaypalAdaptive

Defined in:
lib/paypal_adaptive.rb,
lib/paypal_adaptive/config.rb,
lib/paypal_adaptive/request.rb,
lib/paypal_adaptive/version.rb,
lib/paypal_adaptive/response.rb,
lib/paypal_adaptive/ipn_notification.rb

Defined Under Namespace

Classes: Config, IpnNotification, NoDataError, Request, Response

Constant Summary collapse

VERSION =
"0.3.5"

Class Method Summary collapse

Class Method Details

.config(env = nil) ⇒ Object


81
82
83
84
85
86
# File 'lib/paypal_adaptive/config.rb', line 81

def self.config(env = nil)
  env ||= default_env_for_config
  raise "Please provide an environment" unless env
  @configs ||= Hash.new
  @configs[env] ||= Config.new(env)
end