Sha256: 237fae59694e6e1e77c73331e920aab9295147c569b53673e0686095d3441e85

Contents?: true

Size: 855 Bytes

Versions: 12

Compression:

Stored size: 855 Bytes

Contents

module AuthpdsNyu
  module Session
    module Config
      # Base opensso url
      def opensso_url(value = nil)
        rw_config(:opensso_url, value, "https://login.nyu.edu:443/sso")
      end
      alias_method :opensso_url=, :opensso_url

      # Base aleph url
      def aleph_url(value = nil)
        rw_config(:aleph_url, value, "http://aleph.library.nyu.edu")
      end
      alias_method :aleph_url=, :aleph_url

      # Default aleph ADM
      def aleph_default_adm(value = nil)
        rw_config(:aleph_default_adm, value, "NYU50")
      end
      alias_method :aleph_default_adm=, :aleph_default_adm

      # Default aleph sublibrary
      def aleph_default_sublibrary(value = nil)
        rw_config(:aleph_default_sublibrary, value, "BOBST")
      end
      alias_method :aleph_default_sublibrary=, :aleph_default_sublibrary
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
authpds-nyu-0.2.13 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.12 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.11 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.10 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.9 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.8 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.7 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.6 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.5 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.4 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.3 lib/authpds-nyu/session/config.rb
authpds-nyu-0.2.2 lib/authpds-nyu/session/config.rb