« lib/Bb/Collaborate/Ultra/Session/Log/Attendance.pm
↑ Summary
lib/Bb/Collaborate/Ultra/Session/Occurrence.pm »
| 1 | package Bb::Collaborate::Ultra::Session::Log::Attendees; | ||
| 2 | 1 | ▶ | use warnings; use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use Mouse; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | extends 'Bb::Collaborate::Ultra::DAO'; | |
| 5 | 1 | ▶ | use Bb::Collaborate::Ultra::Session::Log::Attendee; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use Mouse::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | subtype 'ArrayOfAttendees', | |
| 9 | as 'ArrayRef[Bb::Collaborate::Ultra::Session::Log::Attendee]'; | ||
| 10 | |||
| 11 | coerce 'ArrayOfAttendees', | ||
| 12 | from 'ArrayRef[HashRef]', | ||
| 13 | 0 | ▶ | via { [ map {Bb::Collaborate::Ultra::Session::Log::Attendee->new($_)} (@$_) ] }; |
|
Subroutine
__ANON__: not called CC=1 SCAR=2.6
| |||
| 14 | |||
| 15 | 1 | has 'results' => (isa => 'ArrayOfAttendees', is => 'rw', coerce => 1); | |
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Bb::Collaborate::Ultra::Session::Log::Attendees | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | Session Attendee report. | ||
| 24 | |||
| 25 | =head1 METHODS | ||
| 26 | |||
| 27 | See L<https://xx-csa.bbcollab.com/documentation#Attendee-collection> | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||
| 31 | coerce __PACKAGE__, from 'HashRef' => via { | ||
| 32 | 0 | ▶ | __PACKAGE__->new( $_ ) |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 33 | 1 | }; | |
| 34 | |||
| 35 | 1 | __PACKAGE__->resource('attendees'); | |
| 36 | 1 | __PACKAGE__->load_schema(<DATA>); | |
| 37 | 1 | 1; | |
| 38 | # downloaded from https://xx-csa.bbcollab.com/documentation | ||
| 39 | __DATA__ | ||