line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Finance::Crypto::Exchange::Kraken::REST::Private::Websockets; |
2
|
|
|
|
|
|
|
our $VERSION = '0.002'; |
3
|
1
|
|
|
1
|
|
598
|
use Moose::Role; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: Finance::Crypto::Exchange::Kraken::REST::Private::Websockets needs an abstract |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
requires qw( |
8
|
|
|
|
|
|
|
_private |
9
|
|
|
|
|
|
|
); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub get_websockets_token { |
12
|
1
|
|
|
1
|
1
|
12154
|
my $self = shift; |
13
|
1
|
|
|
|
|
7
|
my $req = $self->_private('GetWebSocketsToken', @_); |
14
|
1
|
|
|
|
|
8
|
return $self->call($req); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=encoding UTF-8 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Finance::Crypto::Exchange::Kraken::REST::Private::Websockets - Finance::Crypto::Exchange::Kraken::REST::Private::Websockets needs an abstract |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 0.002 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
package Foo; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
use Moose; |
38
|
|
|
|
|
|
|
with qw(Finance::Crypto::Exchange::Kraken::REST::Private::Websockets); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This role introduces the REST API for websockets Kraken supports. For extensive |
43
|
|
|
|
|
|
|
information please have a look at the L<Kraken API |
44
|
|
|
|
|
|
|
manual|https://www.kraken.com/features/api#ws-auth> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 METHODS |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 get_websockets_token |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
L<https://api.kraken.com/0/private/GetWebsocketsToken> |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Wesley Schwengle <waterkip@cpan.org> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is Copyright (c) 2020 by Wesley Schwengle. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software, licensed under: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
The (three-clause) BSD License |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |