lib/ezid/configuration.rb in ezid-client-1.7.0 vs lib/ezid/configuration.rb in ezid-client-1.7.1
- old
+ new
@@ -42,10 +42,10 @@
def initialize
@user = ENV["EZID_USER"]
@password = ENV["EZID_PASSWORD"]
@host = ENV["EZID_HOST"] || HOST
@port = ENV["EZID_PORT"] || PORT
- @use_ssl = true if ENV["EZID_USE_SSL"] == true.to_s
+ @use_ssl = true unless ENV["EZID_USE_SSL"] == false.to_s
@timeout = ENV["EZID_TIMEOUT"] || TIMEOUT
@default_shoulder = ENV["EZID_DEFAULT_SHOULDER"]
end
def inspect