Pass authtoken to OpenILS::SIP::Patron objects
authorJeff Godin <jgodin@tadl.org>
Tue, 19 Jun 2012 19:10:07 +0000 (15:10 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 2 Aug 2012 02:59:04 +0000 (22:59 -0400)
commita188139d906bf35c0e0a0184711b0f440c4bb02e
tree9149ccd7505ecd91f446f697860a4b26febe6678
parentabc738f57e52871192f9a027e5356deb8f7424d5
Pass authtoken to OpenILS::SIP::Patron objects

To support retrieval of billing details, OpenILS::SIP::Patron
objects need an auth token.

Teach OpenILS::SIP->find_patron to pass patron objects an auth
token, and also move existing "find patron by what key: barcode or
database id?" logic into find_patron (and out of
OpenILS::SIP::Patron->new).

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm