From: Tomas Doran Date: Fri, 25 Sep 2009 09:27:33 +0000 (+0000) Subject: Chomp training space X-Git-Tag: v0.02~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Credential-OAuth.git;a=commitdiff_plain;h=2cd406c8c934d030e8fa6ffaca9779cd93a925cf Chomp training space --- diff --git a/lib/Catalyst/Authentication/Credential/OAuth.pm b/lib/Catalyst/Authentication/Credential/OAuth.pm index 60a9108..dd600d7 100644 --- a/lib/Catalyst/Authentication/Credential/OAuth.pm +++ b/lib/Catalyst/Authentication/Credential/OAuth.pm @@ -27,8 +27,8 @@ sub BUILD { sub _build_ua { my $self = shift; - - LWP::UserAgent->new; + + LWP::UserAgent->new; } sub authenticate { @@ -79,7 +79,7 @@ sub authenticate { $response = Net::OAuth->response( 'access token' )->from_post_body( $ua_response->content ); - my $user = +{ + my $user = +{ token => $response->token, token_secret => $response->token_secret, extra_params => $response->extra_params @@ -208,7 +208,7 @@ Only tested with twitter =head1 COPYRIGHT -Copyright (c) 2009 Sinapticode. All rights reserved +Copyright (c) 2009 Sinapticode. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.