line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::HTTP::Spore::Role::Description; |
2
|
|
|
|
|
|
|
$Net::HTTP::Spore::Role::Description::VERSION = '0.07'; |
3
|
|
|
|
|
|
|
# ABSTRACT: attributes for API description |
4
|
|
|
|
|
|
|
|
5
|
21
|
|
|
21
|
|
7885
|
use Moose::Role; |
|
21
|
|
|
|
|
45
|
|
|
21
|
|
|
|
|
122
|
|
6
|
21
|
|
|
21
|
|
93798
|
use MooseX::Types::Moose qw/ArrayRef/; |
|
21
|
|
|
|
|
48
|
|
|
21
|
|
|
|
|
211
|
|
7
|
21
|
|
|
21
|
|
92996
|
use MooseX::Types::URI qw/Uri/; |
|
21
|
|
|
|
|
51
|
|
|
21
|
|
|
|
|
241
|
|
8
|
21
|
|
|
21
|
|
35870
|
use Net::HTTP::Spore::Meta::Types qw/Boolean/; |
|
21
|
|
|
|
|
51
|
|
|
21
|
|
|
|
|
166
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has base_url => ( |
11
|
|
|
|
|
|
|
is => 'rw', |
12
|
|
|
|
|
|
|
isa => Uri, |
13
|
|
|
|
|
|
|
coerce => 1, |
14
|
|
|
|
|
|
|
required => 1, |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has formats => ( |
18
|
|
|
|
|
|
|
is => 'rw', |
19
|
|
|
|
|
|
|
isa => ArrayRef, |
20
|
|
|
|
|
|
|
predicate => 'has_formats', |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
has authentication => ( |
24
|
|
|
|
|
|
|
is => 'rw', |
25
|
|
|
|
|
|
|
isa => Boolean, |
26
|
|
|
|
|
|
|
predicate => 'has_authentication', |
27
|
|
|
|
|
|
|
coerce => 1, |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
has expected_status => ( |
31
|
|
|
|
|
|
|
is => 'rw', |
32
|
|
|
|
|
|
|
isa => ArrayRef, |
33
|
|
|
|
|
|
|
lazy => 1, |
34
|
|
|
|
|
|
|
default => sub { [] }, |
35
|
|
|
|
|
|
|
); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__END__ |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=pod |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=encoding UTF-8 |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 NAME |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Net::HTTP::Spore::Role::Description - attributes for API description |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 VERSION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
version 0.07 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 AUTHORS |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=over 4 |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Franck Cuny <franck.cuny@gmail.com> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Ash Berlin <ash@cpan.org> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Ahmad Fatoum <athreef@cpan.org> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=back |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This software is copyright (c) 2012 by Linkfluence. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
76
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |