./test/credentials.rb in exact4r-1.0 vs ./test/credentials.rb in exact4r-1.1
- old
+ new
@@ -2,10 +2,11 @@
class Credentials
attr_accessor :config
def initialize
- load_configuration(ENV['LOCATION'])
+ location = ENV['LOCATION'] || 'DEV'
+ load_configuration(location)
end
# obtain the credentials for the processor specified by
# ENV['PROCESSOR'], defaulting to 'emergis'
def current_gateway
\ No newline at end of file