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, 19 Sep 2013 18:12:43 +0000 (14:12 -0400)
commit526846b41d6bcf5b75e6f07726bac0b792182414
tree062058d57eebe09128fff4be2b21c38cc72296df
parent23cd8672334508ab1e45c857cec4188ea541c1ba
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