-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the integration for the Confirm Trees integration mysociety/societyworks#4298
- Loading branch information
1 parent
a271eaa
commit b600c8a
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
perllib/Open311/Endpoint/Integration/UK/Camden/ConfirmTrees.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package Open311::Endpoint::Integration::UK::Camden::ConfirmTrees; | ||
|
||
use Moo; | ||
extends 'Open311::Endpoint::Integration::Confirm'; | ||
|
||
use Open311::Endpoint::Service::UKCouncil::Confirm; | ||
|
||
has service_class => ( | ||
is => 'ro', | ||
default => 'Open311::Endpoint::Service::UKCouncil::Confirm' | ||
); | ||
|
||
around BUILDARGS => sub { | ||
my ($orig, $class, %args) = @_; | ||
$args{jurisdiction_id} = 'camden_confirm_trees'; | ||
return $class->$orig(%args); | ||
}; | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters