[Bps-public-commit] r19614 - in Net-Google-Code/trunk/lib/Net/Google/Code: Role

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon May 11 04:27:49 EDT 2009


Author: sunnavy
Date: Mon May 11 04:27:49 2009
New Revision: 19614

Removed:
   Net-Google-Code/trunk/lib/Net/Google/Code/Role/RemoteFile.pm
Modified:
   Net-Google-Code/trunk/lib/Net/Google/Code/IssueAttachment.pm

Log:
remove the remotefile role, it is not so general to be a role

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/IssueAttachment.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/IssueAttachment.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/IssueAttachment.pm	Mon May 11 04:27:49 2009
@@ -1,6 +1,10 @@
 package Net::Google::Code::IssueAttachment;
 use Moose;
-with 'Net::Google::Code::Role', 'Net::Google::Code::Role::RemoteFile';
+with 'Net::Google::Code::Role';
+
+has name    => ( isa => 'Str', is => 'rw' );
+has url     => ( isa => 'Str', is => 'rw' );
+has size    => ( isa => 'Str', is => 'rw' );
 
 =head2 parse
 there're 2 trs that represent an attachment like the following:



More information about the Bps-public-commit mailing list