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.1 lib/active_fedora/config.rb
active-fedora-9.0.0 lib/active_fedora/config.rb
active-fedora-9.0.0.rc3 lib/active_fedora/config.rb
active-fedora-9.0.0.rc2 lib/active_fedora/config.rb
active-fedora-9.0.0.rc1 lib/active_fedora/config.rb
active-fedora-9.0.0.beta8 lib/active_fedora/config.rb
active-fedora-9.0.0.beta7 lib/active_fedora/config.rb
active-fedora-9.0.0.beta6 lib/active_fedora/config.rb
active-fedora-9.0.0.beta5 lib/active_fedora/config.rb
active-fedora-9.0.0.beta4 lib/active_fedora/config.rb
active-fedora-9.0.0.beta3 lib/active_fedora/config.rb
active-fedora-9.0.0.beta2 lib/active_fedora/config.rb
active-fedora-9.0.0.beta1 lib/active_fedora/config.rb