Skip to content

Commit

Permalink
override
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Feb 24, 2015
1 parent f2d0916 commit 31f6364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/paypal_adaptive/config.rb
Expand Up @@ -78,11 +78,11 @@ def retain_requests_for_test?
end
end

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

private
Expand Down

0 comments on commit 31f6364

Please sign in to comment.