Module: AuthpdsNyu::Session::Config
- Defined in:
- lib/authpds-nyu/session.rb
Instance Method Summary collapse
-
#aleph_default_adm(value = nil) ⇒ Object
(also: #aleph_default_adm=)
Default aleph ADM.
-
#aleph_default_sublibrary(value = nil) ⇒ Object
(also: #aleph_default_sublibrary=)
Default aleph sublibrary.
-
#aleph_url(value = nil) ⇒ Object
(also: #aleph_url=)
Base aleph url.
-
#opensso_url(value = nil) ⇒ Object
(also: #opensso_url=)
Base opensso url.
Instance Method Details
#aleph_default_adm(value = nil) ⇒ Object Also known as: aleph_default_adm=
Default aleph ADM
25 26 27 |
# File 'lib/authpds-nyu/session.rb', line 25 def aleph_default_adm(value = nil) rw_config(:aleph_default_adm, value, "NYU50") end |
#aleph_default_sublibrary(value = nil) ⇒ Object Also known as: aleph_default_sublibrary=
Default aleph sublibrary
31 32 33 |
# File 'lib/authpds-nyu/session.rb', line 31 def aleph_default_sublibrary(value = nil) rw_config(:aleph_default_sublibrary, value, "BOBST") end |
#aleph_url(value = nil) ⇒ Object Also known as: aleph_url=
Base aleph url
19 20 21 |
# File 'lib/authpds-nyu/session.rb', line 19 def aleph_url(value = nil) rw_config(:aleph_url, value, "http://aleph.library.nyu.edu") end |
#opensso_url(value = nil) ⇒ Object Also known as: opensso_url=
Base opensso url
13 14 15 |
# File 'lib/authpds-nyu/session.rb', line 13 def opensso_url(value = nil) rw_config(:opensso_url, value, "https://login.nyu.edu:443/sso") end |