WebSer...rPatron(3pm)

πŸ“¦
version 0.18 Β· 2 versions
  • 0.18 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.18 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

WebService::ILS::RecordedBooks::PartnerPatron β€” it's the RecordedBooks patner API (yes bestie, "patner", that's literally how it's spelled, we don't make the rules πŸ’€) for one single individual patron. This is the 3pm page, aka the Perl manual section, so you already know it's Perl-core-adjacent Perl module energy ✨


✨ SYNOPSIS ✨

use WebService::ILS::RecordedBooks::PartnerPatron;

that's it. that's the whole summoning ritual πŸ•―οΈ


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so WebService::ILS::RecordedBooks::PartnerPatron is the vibe where you roll up with trusted partner credentials and use them to operate on behalf of a specified patron. Not your own account, not a rando's β€” a specific patron, chosen by you, acting through partner trust. Very "I'm here on official business" of it 🫢

And go look at WebService::ILS::RecordedBooks::Partner too, because this one is basically that one's main-character sibling πŸ‘‘


πŸŽ€ CONSTRUCTOR πŸŽ€

new (%params_hash or $params_hashref)

It takes a params hash or a params hashref β€” dealer's choice, we support both πŸ’…

Extra constructor params you gotta know about, no cap:

  • "user_id" β€” the RecordedBooks user id (that's a barcode, bestie) or an email. Either one, it's giving flexible πŸ“
  • "client_id" is either a RecordedBooks id (barcode) or an email β€” same deal, two flavours, both valid

🌸 NATIVE METHODS 🌸

native_patron ()

This method cannot be called. Like, at all. It's not "call it and see", it's no. Don't do it. Not even a little πŸ™ˆ

πŸ’… LICENSE πŸ’…

Copyright (C) Catalyst IT NZ Ltd Copyright (C) Bywater Solutions

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. So go off, just keep it free and keep the same terms, periodt 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Srdjan JankoviX <srdjan@catalyst.net.nz> β€” iconic behaviour honestly, thank you for your service 🫑✨


okay that's the whole page, you ate it, you understood it, you're basically a RecordedBooks partner-patron whisperer now πŸ’–

this lil' rewrite came to you courtesy of Perl v5.36.0, dated 2022-11-29 β€” User Contributed Perl Documentation, mwah πŸ’‹

πŸ“¦ where this page comes from