line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebAPI::DBIC::Resource::GenericSet; |
2
|
|
|
|
|
|
|
$WebAPI::DBIC::Resource::GenericSet::VERSION = '0.003002'; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
9431615
|
use Moo; |
|
2
|
|
|
|
|
46106
|
|
|
2
|
|
|
|
|
70
|
|
5
|
2
|
|
|
2
|
|
4950
|
use namespace::clean; |
|
2
|
|
|
|
|
25249
|
|
|
2
|
|
|
|
|
51
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
extends 'WebAPI::DBIC::Resource::GenericCore'; |
8
|
|
|
|
|
|
|
with 'WebAPI::DBIC::Resource::Role::Set', |
9
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::Role::SetWritable', |
10
|
|
|
|
|
|
|
# Enable HAL support: |
11
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::HAL::Role::DBIC', # XXX move out? |
12
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::HAL::Role::Set', |
13
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::HAL::Role::SetWritable', |
14
|
|
|
|
|
|
|
# Enable JSON API support: |
15
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::JSONAPI::Role::DBIC', # XXX move out? |
16
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::JSONAPI::Role::Set', |
17
|
|
|
|
|
|
|
'WebAPI::DBIC::Resource::JSONAPI::Role::SetWritable', |
18
|
|
|
|
|
|
|
; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=encoding UTF-8 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
WebAPI::DBIC::Resource::GenericSet |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
version 0.003002 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
WebAPI::DBIC::Resource::GenericSet - a set of roles to implement a generic DBIC set resource |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Tim Bunce <Tim.Bunce@pobox.com> |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Tim Bunce. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
49
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |