[Bps-public-commit] r19680 - Net-Google-Code/trunk/lib/Net/Google/Code
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri May 15 01:56:16 EDT 2009
Author: sunnavy
Date: Fri May 15 01:56:16 2009
New Revision: 19680
Modified:
Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
Log:
make id as an attribute for Issue, so we can specify the id when ->new
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue.pm Fri May 15 01:56:16 2009
@@ -13,6 +13,11 @@
is => 'rw',
);
+has 'id' => (
+ isa => 'Int',
+ is => 'rw',
+);
+
has 'state' => (
isa => 'HashRef',
is => 'rw',
@@ -37,7 +42,7 @@
default => sub { [] },
);
-our @PROPS = qw(id status owner closed cc summary reporter description);
+our @PROPS = qw(status owner closed cc summary reporter description);
for my $prop (@PROPS) {
no strict 'refs'; ## no critic
More information about the Bps-public-commit
mailing list