Permalink
Browse files

Added username and password attributes

  • Loading branch information...
1 parent 05f0b05 commit e91c938b04ac473632ca320c464ded4a285a70d2 @vti vti committed Mar 10, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Bootylicious/Plugin/Xmlrpc.pm
@@ -10,6 +10,7 @@ use Protocol::XMLRPC::MethodResponse;
our $VERSION = '0.990101';
+__PACKAGE__->attr([qw/username password/]);
__PACKAGE__->attr('ctx');
sub new {
@@ -29,6 +30,9 @@ sub register {
die 'Username and password are required';
}
+ $self->username($args->{username});
+ $self->password($args->{password});
+
my $dispatcher = $self->_dispatcher($app);
my $r = $app->routes;

0 comments on commit e91c938

Please sign in to comment.