line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::LocalBitcoins::API::Request::Send; |
2
|
1
|
|
|
1
|
|
6
|
use base qw(Finance::LocalBitcoins::API::Request); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
287
|
|
3
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use constant URL => 'https://localbitcoins.com/api/wallet-send/'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
65
|
|
6
|
1
|
|
|
1
|
|
6
|
use constant ATTRIBUTES => qw(address amount); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
271
|
|
7
|
|
|
|
|
|
|
|
8
|
0
|
|
|
0
|
0
|
|
sub address { my $self = shift; $self->get_set(@_) } |
|
0
|
|
|
|
|
|
|
9
|
0
|
|
|
0
|
0
|
|
sub amount { my $self = shift; $self->get_set(@_) } |
|
0
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
0
|
|
sub url { URL } |
11
|
0
|
|
|
0
|
0
|
|
sub attributes { ATTRIBUTES } |
12
|
|
|
|
|
|
|
sub is_ready_to_send { |
13
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
14
|
0
|
0
|
|
|
|
|
return defined $self->address and defined $self->amount |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |