]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Add method to permit AC handler to expect keyhash
authorJeff Godin <jgodin@tadl.org>
Thu, 19 Sep 2013 18:12:43 +0000 (14:12 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 26 Sep 2013 17:56:21 +0000 (13:56 -0400)
commit83d198ae340b563b7573ecf89136b32141a82079
treed624c964375399fcb563ba3e82ad795ae2a1f11f
parentb69ffb6a8377282d9e1978bb732c439c28cdec1a
Add method to permit AC handler to expect keyhash

Add an expects_keyhash method to
OpenILS::WWW::AddedContent::Syndetic and look for it from
OpenILS::WWW::AddedContent. This allows us to pass a keyhash
(containing isbn/upc/whatever) to this handler while still passing a
simple scalar containing an ISBN to other AddedContent handlers.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm