From b398c46825dc73ac92677893dd2a714cd21f8a4d Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 26 Mar 2011 12:40:12 +0000 Subject: collections working, subclasses, strings --- lib/DeWeave/BO/Client.pm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/DeWeave/BO/Client.pm (limited to 'lib/DeWeave/BO/Client.pm') diff --git a/lib/DeWeave/BO/Client.pm b/lib/DeWeave/BO/Client.pm new file mode 100644 index 0000000..e9f9ae8 --- /dev/null +++ b/lib/DeWeave/BO/Client.pm @@ -0,0 +1,26 @@ +package DeWeave::BO::Client; +use Moose; +use namespace::autoclean; +use MooseX::Types::Moose qw(Str ArrayRef); + +extends 'DeWeave::EDO'; + +has name => ( + isa => Str, + required => 1, + is => 'ro', +); + +has type => ( + isa => Str, + required => 1, + is => 'ro', +); + +has commands => ( + isa => ArrayRef[Str], + required => 0, + is => 'ro', +); + +1; -- cgit v1.2.3