Sha256: 0b8ad6697a1004f6a9eb6486e9089c1db455801fef9321825e619b9ace164e53

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

require "logger"

module Ezid
  class Configuration

    attr_writer :user, :password, :logger
    attr_accessor :metadata_profile, :default_status

    def user
      @user ||= ENV["EZID_USER"]
    end

    def password
      @password ||= ENV["EZID_PASSWORD"]
    end

    def logger
      @logger ||= Logger.new(STDERR)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ezid-client-0.1.0 lib/ezid/configuration.rb