line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::LocalBitcoins::API::Request::Dash; |
2
|
1
|
|
|
1
|
|
7
|
use base qw(Finance::LocalBitcoins::API::Request); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
82
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
5
|
use constant URL => 'https://localbitcoins.com/api/dashboard/'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
46
|
|
6
|
|
|
|
|
|
|
#use constant ATTRIBUTES => qw(currencypair); |
7
|
1
|
|
|
1
|
|
5
|
use constant REQUEST_TYPE => 'POST'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
47
|
|
8
|
|
|
|
|
|
|
#use constant DATA_KEY => undef; |
9
|
1
|
|
|
1
|
|
5
|
use constant IS_PRIVATE => 1; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
10
|
1
|
|
|
1
|
|
5
|
use constant READY => 1; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
143
|
|
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
0
|
5
|
sub url { URL } |
13
|
|
|
|
|
|
|
#sub attributes { ATTRIBUTES } |
14
|
2
|
|
|
2
|
0
|
11
|
sub request_type { REQUEST_TYPE } |
15
|
|
|
|
|
|
|
#sub data_key { DATA_KEY } |
16
|
2
|
|
|
2
|
0
|
16
|
sub is_private { IS_PRIVATE } |
17
|
1
|
|
|
1
|
0
|
4
|
sub is_ready_to_send { READY } |
18
|
|
|
|
|
|
|
#sub currencypair { my $self = shift; $self->get_set(@_) } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |