aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/Endpoint/Service.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/Open311/Endpoint/Service.pm')
-rw-r--r--perllib/Open311/Endpoint/Service.pm55
1 files changed, 0 insertions, 55 deletions
diff --git a/perllib/Open311/Endpoint/Service.pm b/perllib/Open311/Endpoint/Service.pm
deleted file mode 100644
index 2c28c6d79..000000000
--- a/perllib/Open311/Endpoint/Service.pm
+++ /dev/null
@@ -1,55 +0,0 @@
-package Open311::Endpoint::Service;
-use Moo;
-use MooX::HandlesVia;
-use Types::Standard ':all';
-use namespace::clean;
-
-has service_name => (
- is => 'ro',
- isa => Str,
-);
-
-has service_code => (
- is => 'ro',
- isa => Str,
-);
-
-has default_service_notice => (
- is => 'ro',
- isa => Maybe[Str],
- predicate => 1,
-);
-
-has description => (
- is => 'ro',
- isa => Str,
-);
-
-has keywords => (
- is => 'ro',
- isa => ArrayRef[Str],
- default => sub { [] },
-);
-
-has group => (
- is => 'ro',
- isa => Str,
-);
-
-has type => (
- is => 'ro',
- isa => Enum[qw/ realtime batch blackbox /],
-);
-
-has attributes => (
- is => 'ro',
- isa => ArrayRef[ InstanceOf['Open311::Endpoint::Service::Attribute'] ],
- default => sub { [] },
- handles_via => 'Array',
- handles => {
- has_attributes => 'count',
- get_attributes => 'elements',
- }
-);
-
-1;