From 3c5cccf1bf74f2e60482fe62cfbcbe06722da1f5 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 11 Jul 2012 00:08:15 -0700 Subject: initial commit --- BatchPayment/TestMode.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 BatchPayment/TestMode.pm (limited to 'BatchPayment/TestMode.pm') diff --git a/BatchPayment/TestMode.pm b/BatchPayment/TestMode.pm new file mode 100644 index 0000000..551a9aa --- /dev/null +++ b/BatchPayment/TestMode.pm @@ -0,0 +1,18 @@ +package Business::BatchPayment::TestMode; + +=head1 DESCRIPTION + +The 'test_mode' attribute. A module that does this role is promising that +requests will not be submitted to a live account if test_mode is true. + +=cut + +use Moose::Role; + +has 'test_mode' => ( + is => 'rw', + isa => 'Bool', + default => 0, +); + +1; -- cgit v1.2.1