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)
committerJeff Godin <jgodin@tadl.org>
Thu, 26 Sep 2013 15:17:45 +0000 (11:17 -0400)
commitd2c8c3cddfc4935dfaa85767af8c6b8cf3119b8f
tree5b1631660a5e79cf12909702598b8e5902b7364d
parentd9d3f14e50bb078b652f02ad4ebad7804bdf3332
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm