aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Warwickshire.pm35
1 files changed, 35 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Warwickshire.pm b/perllib/FixMyStreet/Cobrand/Warwickshire.pm
new file mode 100644
index 000000000..e52188311
--- /dev/null
+++ b/perllib/FixMyStreet/Cobrand/Warwickshire.pm
@@ -0,0 +1,35 @@
+package FixMyStreet::Cobrand::Warwickshire;
+use base 'FixMyStreet::Cobrand::UKCouncils';
+
+use strict;
+use warnings;
+
+sub council_id { return 2243; }
+sub council_area { return 'Warwickshire'; }
+sub council_name { return 'Warwickshire County Council'; }
+sub council_url { return 'warwickshire'; }
+
+sub is_two_tier { return 1; }
+
+sub disambiguate_location {
+ my $self = shift;
+ return {
+ %{ $self->SUPER::disambiguate_location() },
+ town => 'Warwick',
+ centre => '52.300638,-1.559546',
+ span => '0.73185,0.789867',
+ bounds => [ 51.955394, -1.962007, 52.687244, -1.172140 ],
+ };
+}
+
+sub example_places {
+ return [ 'CV34 4RL', 'Stratford Rd' ];
+}
+
+sub contact_email {
+ my $self = shift;
+ return join( '@', 'fmstest', 'warwickshire.gov.uk' );
+}
+sub contact_name { 'Warwickshire County Council (do not reply)'; }
+
+1;