Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed spaces at the end of lines
  • Loading branch information
bessarabov committed Mar 31, 2012
1 parent cd7b31c commit e09fe13
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/Trac/RPC/Base.pm
Expand Up @@ -15,15 +15,15 @@ use warnings;
use Data::Dumper;
use RPC::XML::Client;
use Trac::RPC::Exception;
binmode STDOUT, ":utf8";
binmode STDOUT, ":utf8";

=head1 GENERAL FUNCTIONS
=cut

=head2 new
* Get: 1) hash with connection information
* Return: 1) object
* Get: 1) hash with connection information
* Return: 1) object
Sub creates an object
Expand All @@ -45,20 +45,20 @@ sub new {
fault_handler => sub {error($self, @_)},
);

if ( $self->{realm} && $self->{user} && $self->{password} ) {
if ( $self->{realm} && $self->{user} && $self->{password} ) {
$self->{rxc}->credentials($self->{realm}, $self->{user}, $self->{password});
}

bless($self, $class);
return $self;
}

=head2 call
=head2 call
* Get: 1) @ with params to send to trac's xml rpc interface
* Return: 1) scalar with some data recived from trac
* Return: 1) scalar with some data recived from trac
Sending request to trac and returns the answer.
Sending request to trac and returns the answer.
$self->call(
'wiki.putPage',
Expand All @@ -78,7 +78,7 @@ sub call {
return $res->value;
}

=head2 error
=head2 error
Handler that checks for different types of erros and throws exceptions.
Expand Down

0 comments on commit e09fe13

Please sign in to comment.