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