File Coverage

blib/lib/WebService/LiveJournal/Thingie.pm
Criterion Covered Total %
statement 9 14 64.2
branch 0 2 0.0
condition n/a
subroutine 3 6 50.0
pod 0 2 0.0
total 12 24 50.0


line stmt bran cond sub pod time code
1             package WebService::LiveJournal::Thingie;
2              
3 1     1   6 use strict;
  1         1  
  1         33  
4 1     1   5 use warnings;
  1         1  
  1         55  
5 1     1   5 use overload '""' => sub { $_[0]->as_string };
  1     0   1  
  1         9  
  0            
6              
7             # ABSTRACT: base class for WebService::LiveJournal classes
8             our $VERSION = '0.07'; # VERSION
9              
10             sub client
11             {
12 0     0 0   my($self, $new_value) = @_;
13 0 0         $self->{client} = $new_value if defined $new_value;
14 0           $self->{client};
15             }
16              
17 0     0 0   sub error { shift->client->error }
18              
19             1;
20              
21             __END__