lib/ezid/configuration.rb in ezid-client-0.9.0 vs lib/ezid/configuration.rb in ezid-client-0.9.1
- old
+ new
@@ -37,13 +37,14 @@
# Default shoulder for minting (scheme + NAAN + shoulder)
# @example "ark:/99999/fk4"
attr_accessor :default_shoulder
def initialize
- @user = ENV["EZID_USER"]
- @password = ENV["EZID_PASSWORD"]
- @host = ENV["EZID_HOST"] || HOST
- @use_ssl = ENV["EZID_USE_SSL"] != false.to_s
+ @user = ENV["EZID_USER"]
+ @password = ENV["EZID_PASSWORD"]
+ @host = ENV["EZID_HOST"] || HOST
+ @use_ssl = ENV["EZID_USE_SSL"] != false.to_s
+ @default_shoulder = ENV["EZID_DEFAULT_SHOULDER"]
end
def logger
@logger ||= Logger.new(STDERR)
end