line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bb::Collaborate::Ultra::Recording; |
2
|
1
|
|
|
1
|
|
22547
|
use warnings; use strict; |
|
1
|
|
|
1
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
13
|
|
3
|
1
|
|
|
1
|
|
384
|
use Mouse; |
|
1
|
|
|
|
|
19623
|
|
|
1
|
|
|
|
|
3
|
|
4
|
|
|
|
|
|
|
extends 'Bb::Collaborate::Ultra::DAO'; |
5
|
|
|
|
|
|
|
__PACKAGE__->resource('recordings'); |
6
|
|
|
|
|
|
|
__PACKAGE__->load_schema(); |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->query_params( |
9
|
|
|
|
|
|
|
name => 'Str', |
10
|
|
|
|
|
|
|
contextId => 'Str', |
11
|
|
|
|
|
|
|
startTime => 'Date', |
12
|
|
|
|
|
|
|
endTime => 'Date' |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Bb::Collaborate::Ultra::Recording - Session Recordings |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 METHODS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
This class supports the `get` and `delete` methods as described in L. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head2 url |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Returns a play-back URL for the recording |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=cut |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub url { |
32
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
33
|
0
|
|
0
|
|
|
|
my $connection = shift || $self->connection; |
34
|
0
|
|
|
|
|
|
my $path = $self->path.'/url'; |
35
|
0
|
|
|
|
|
|
my $response = $connection->GET($path); |
36
|
0
|
|
|
|
|
|
$response->{url}; |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
# downloaded from https://xx-csa.bbcollab.com/documentation |
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
__DATA__ |