[Bps-public-commit] net-lighthouse branch, master, updated. 89403a4a7a024de91a9da3dcca74f4b366e6c042
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Aug 31 02:18:22 EDT 2009
The branch, master has been updated
via 89403a4a7a024de91a9da3dcca74f4b366e6c042 (commit)
from 2d29717a57335f381a61d786a8270cf00af95cd9 (commit)
Summary of changes:
lib/Net/Lighthouse/User/Membership.pm | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 89403a4a7a024de91a9da3dcca74f4b366e6c042
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Aug 31 14:17:58 2009 +0800
update user membership attrs
diff --git a/lib/Net/Lighthouse/User/Membership.pm b/lib/Net/Lighthouse/User/Membership.pm
index 420198e..d935db0 100644
--- a/lib/Net/Lighthouse/User/Membership.pm
+++ b/lib/Net/Lighthouse/User/Membership.pm
@@ -5,8 +5,13 @@ use Params::Validate ':all';
use Net::Lighthouse::Util;
# read only attr
-has [qw/id user_id account project/] => (
- isa => 'Maybe[Str]',
+has [qw/id user_id/] => (
+ isa => 'Int',
+ is => 'ro',
+);
+
+has [qw/account project/] => (
+ isa => 'Str',
is => 'ro',
);
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list