line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::LocalBitcoins::API::Request::SendPin; |
2
|
1
|
|
|
1
|
|
6
|
use base qw(Finance::LocalBitcoins::API::Request); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
82
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use constant URL => 'https://localbitcoins.com/api/wallet-send-pin/'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
62
|
|
6
|
1
|
|
|
1
|
|
7
|
use constant ATTRIBUTES => qw(address amount pincode); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
398
|
|
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 pincode { my $self = shift; $self->get_set(@_) } |
|
0
|
|
|
|
|
|
|
11
|
0
|
|
|
0
|
0
|
|
sub url { URL } |
12
|
0
|
|
|
0
|
0
|
|
sub attributes { ATTRIBUTES } |
13
|
|
|
|
|
|
|
sub is_ready_to_send { |
14
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
15
|
0
|
0
|
0
|
|
|
|
return defined $self->address and defined $self->amount and defined $self->pincode; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |