Bug 20599: Add the Koha::Subscription->vendor method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 Apr 2018 21:12:50 +0000 (18:12 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Apr 2018 15:32:20 +0000 (12:32 -0300)
commit71e5c4274057755bc593d8f1ca598d378b558649
treebfa536e45404a30c3212ff31270248e02e6ef227
parent26201f906c90d1596ad450a4ee788ccd301c24d4
Bug 20599: Add the Koha::Subscription->vendor method

Test plan:
  prove t/db_dependent/Koha/Subscription.t
must return green

NOTE: My preference is for $subscription to be object,
      and perhaps something like $built_subscription to
      be from the builder. Because, $object is a poor
      variable name.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Subscription.pm
t/db_dependent/Koha/Subscription.t