summaryrefslogtreecommitdiff
path: root/BatchPayment/TestMode.pm
blob: 54b4d139941a5f5ca25ce6c178ba3781e166a0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 strict;
use Moose::Role;

has 'test_mode' => (
  is => 'rw',
  isa => 'Bool',
  default => 0,
);

1;