aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/Blackhole.pm
blob: 2c1a4fc8e3a5bd7e00a3463d18a9c450a5b2bf12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package FixMyStreet::SendReport::Blackhole;

use Moo;

BEGIN { extends 'FixMyStreet::SendReport'; }

=head2 send

Immediately marks the report as successfully sent, but doesn't actually send
it anywhere.

=cut

sub send {
    my $self = shift;
    $self->success(1);
    return 0;
}

1;