| 1 | package Bb::Collaborate::Ultra::Recording; | ||||||||||||||||||||
| 2 | 2 | ▶ | use warnings; use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | 2 | ▶ | use Mouse; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 2 | extends 'Bb::Collaborate::Ultra::DAO'; | |||||||||||||||||||
| 5 | 2 | __PACKAGE__->resource('recordings'); | |||||||||||||||||||
| 6 | 2 | __PACKAGE__->load_schema(<DATA>); | |||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | 2 | __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<https://xx-csa.bbcollab.com/documentation#Recording>. | ||||||||||||||||||||
| 22 | |||||||||||||||||||||
| 23 | =cut | ||||||||||||||||||||
| 24 | |||||||||||||||||||||
| 25 | =head2 url | ||||||||||||||||||||
| 26 | |||||||||||||||||||||
| 27 | Returns a play-back URL for the recording | ||||||||||||||||||||
| 28 | |||||||||||||||||||||
| 29 | =cut | ||||||||||||||||||||
| 30 | |||||||||||||||||||||
| 31 | 0 | ▶ | sub url { | ||||||||||||||||||
|
Subroutine
url: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||||||||||
| 32 | 0 | my $self = shift; | |||||||||||||||||||
| 33 | 0 | ▶ | my $connection = shift || $self->connection; | ||||||||||||||||||
|
Condition0%0/3
shift() || $self->connection
MC/DC0%0/2
shift() || $self->connection
shift()
$self->connection
Truth table0%0/3
A || B
A= shift()B= $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 | 2 | 1; | |||||||||||||||||||
| 41 | __DATA__ | ||||||||||||||||||||