diff options
Diffstat (limited to 'BatchPayment/TestMode.pm')
-rw-r--r-- | BatchPayment/TestMode.pm | 18 |
1 files changed, 18 insertions, 0 deletions
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; |