Bug 26555: Add Koha::Object::Message
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 28 Sep 2020 13:23:50 +0000 (10:23 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Oct 2020 12:50:06 +0000 (14:50 +0200)
commitaa69ef69722af8c9a2b9afd780b8f1ff68c32a9b
tree02af4d7266d8f67871fb6b23b6f63d4e412f6b38
parent35a3b9e6b9288558a708f97ae190f96e8bbac8d1
Bug 26555: Add Koha::Object::Message

This patch introduces a tiny class for encapsulating execution messages in
Koha::Object derived classes.

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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Object/Message.pm [new file with mode: 0644]
t/Koha/Object/Message.t [new file with mode: 0755]