File Coverage

blib/lib/Finance/LocalBitcoins/API/Request/ReleaseEscrow.pm
Criterion Covered Total %
statement 12 17 70.5
branch n/a
condition n/a
subroutine 4 8 50.0
pod 0 4 0.0
total 16 29 55.1


line stmt bran cond sub pod time code
1             package Finance::LocalBitcoins::API::Request::ReleaseEscrow;
2 1     1   5 use base qw(Finance::LocalBitcoins::API::Request);
  1         2  
  1         78  
3 1     1   5 use strict;
  1         2  
  1         45  
4              
5 1     1   5 use constant URL => 'https://localbitcoins.com/api/escrow_release/%s/';
  1         2  
  1         53  
6 1     1   5 use constant ATTRIBUTES => qw(escrow_id);
  1         2  
  1         230  
7              
8 0     0 0   sub escrow_id { my $self = shift; $self->get_set(@_) }
  0            
9 0     0 0   sub url { sprintf URL, shift->escrow_id }
10 0     0 0   sub is_ready_to_send { defined shift->escrow_id }
11 0     0 0   sub attributes { ATTRIBUTES }
12              
13             1;
14              
15             __END__