Sha256: e87ad5ca277f4d3983834fe2990afb74ab90aeddcb680d0e5e575bb7676e350f

Contents?: true

Size: 287 Bytes

Versions: 33

Compression:

Stored size: 287 Bytes

Contents

module ActiveFedora
  class Config
    attr_reader :credentials
    def initialize(val)
      @credentials = val.symbolize_keys
      unless @credentials.has_key?(:url)
        raise ActiveFedora::ConfigurationError, "Fedora configuration must provide :url."
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
active-fedora-9.0.8 lib/active_fedora/config.rb
active-fedora-9.5.0 lib/active_fedora/config.rb
active-fedora-9.4.3 lib/active_fedora/config.rb
active-fedora-9.4.2 lib/active_fedora/config.rb
active-fedora-9.4.1 lib/active_fedora/config.rb
active-fedora-9.4.0 lib/active_fedora/config.rb
active-fedora-9.3.0 lib/active_fedora/config.rb
active-fedora-9.2.1 lib/active_fedora/config.rb
active-fedora-9.2.0 lib/active_fedora/config.rb
active-fedora-9.2.0.rc2 lib/active_fedora/config.rb
active-fedora-9.2.0.rc1 lib/active_fedora/config.rb
active-fedora-9.1.2 lib/active_fedora/config.rb
active-fedora-9.1.1 lib/active_fedora/config.rb
active-fedora-9.1.0 lib/active_fedora/config.rb
active-fedora-9.1.0.rc1 lib/active_fedora/config.rb
active-fedora-9.0.6 lib/active_fedora/config.rb
active-fedora-9.0.5 lib/active_fedora/config.rb
active-fedora-9.0.4 lib/active_fedora/config.rb
active-fedora-9.0.3 lib/active_fedora/config.rb
active-fedora-9.0.2 lib/active_fedora/config.rb