https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29746

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 128831
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128831&action=edit
Bug 29746: Add Koha::Boolean

This patch introduces a new OO class that can be used as return value
from methods that need to return boolean values, but also provide some
feedback. This last bit is implemented using Koha::Object::Message
objects that can carry valuable information.

This class can also implement a `to_api()` method so it is suitable for
API usage. And so the Koha::Object::Message class. Will be done as
needed.

To test:
1. Apply this patchset
2. Run:
   $ kshell
  k$ prove t/Koha/Boolean.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to