diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-03-12 09:56:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-03-31 09:48:39 +0100 |
commit | 80e17014ca70571666e7524d1a161873f18581c3 (patch) | |
tree | a88fb8846e39399b2b28a5f82fe2f23759b096f3 /perllib/FixMyStreet/SendReport.pm | |
parent | 7ed376410d38c3d86981f005d12ad77e3f1501d1 (diff) |
Refactor Script::Report into an object.
Diffstat (limited to 'perllib/FixMyStreet/SendReport.pm')
-rw-r--r-- | perllib/FixMyStreet/SendReport.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/SendReport.pm b/perllib/FixMyStreet/SendReport.pm index c73cbb918..0d8bea304 100644 --- a/perllib/FixMyStreet/SendReport.pm +++ b/perllib/FixMyStreet/SendReport.pm @@ -15,8 +15,7 @@ has 'to' => ( is => 'rw', isa => ArrayRef, default => sub { [] } ); has 'bcc' => ( is => 'rw', isa => ArrayRef, default => sub { [] } ); has 'success' => ( is => 'rw', isa => Bool, default => 0 ); has 'error' => ( is => 'rw', isa => Str, default => '' ); -has 'unconfirmed_counts' => ( 'is' => 'rw', isa => HashRef, default => sub { {} } ); -has 'unconfirmed_notes' => ( 'is' => 'rw', isa => HashRef, default => sub { {} } ); +has 'unconfirmed_data' => ( 'is' => 'rw', isa => HashRef, default => sub { {} } ); sub should_skip { |