README.rdoc in authpds-0.2.4 vs README.rdoc in authpds-0.2.5
- old
+ new
@@ -1,7 +1,7 @@
= Authpds
-{<img src="https://secure.travis-ci.org/scotdalton/authpds.png?branch=master" alt="Build Status" />}[https://travis-ci.org/scotdalton/authpds]
+{<img src="https://api.travis-ci.org/scotdalton/authpds.png?branch=master" alt="Build Status" />}[https://travis-ci.org/scotdalton/authpds]
{<img src="https://gemnasium.com/scotdalton/authpds.png" alt="Dependency Status" />}[https://gemnasium.com/scotdalton/authpds]
{<img src="https://codeclimate.com/badge.png" alt="Code Climage" />}[https://codeclimate.com/github/scotdalton/authpds]
This gem provides a mechanism for authenticating via Ex Libris' Patron Directory Services (PDS) and provides hooks for making authorization decisions based on the user information provided by PDS. It leverages the authlogic gem and depends on a User-like model.
@@ -48,33 +48,33 @@
Calling the institution "default" will make it the default:
default:
login:
- link_code: INST01
+ code: INST01
display_name: My Institution
An alternative syntax:
INST01:
login:
- link_code: INST01
+ code: INST01
default: true
display_name: My Institution
You can create multiple institution listings as follows:
INST01:
login:
- link_code: INST01
+ code: INST01
default: true
display_name: My Institution
INST02:
login:
- link_code: INST01
+ code: INST01
display_name: Your Institution
-The two separate institutions above share a link_code in this example. The link_code attribute determines the institute parameter in the PDS url.
+The two separate institutions above share a code in this example. The code attribute determines the institute parameter in the PDS url.
==== Institution fields
:name:: Institution name
:display_name:: Name to display to users.
:default:: Boolean indicating whether this is a default Institution. Alternatively, an Institution can be named 'default'.
\ No newline at end of file