line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::HTTP::Spore::Role::Description; |
2
|
|
|
|
|
|
|
$Net::HTTP::Spore::Role::Description::VERSION = '0.09'; |
3
|
|
|
|
|
|
|
# ABSTRACT: attributes for API description |
4
|
|
|
|
|
|
|
|
5
|
22
|
|
|
22
|
|
9257
|
use Moose::Role; |
|
22
|
|
|
|
|
51
|
|
|
22
|
|
|
|
|
133
|
|
6
|
22
|
|
|
22
|
|
103449
|
use MooseX::Types::Moose qw/ArrayRef/; |
|
22
|
|
|
|
|
47
|
|
|
22
|
|
|
|
|
224
|
|
7
|
22
|
|
|
22
|
|
97384
|
use MooseX::Types::URI qw/Uri/; |
|
22
|
|
|
|
|
47
|
|
|
22
|
|
|
|
|
255
|
|
8
|
22
|
|
|
22
|
|
37253
|
use Net::HTTP::Spore::Meta::Types qw/Boolean/; |
|
22
|
|
|
|
|
46
|
|
|
22
|
|
|
|
|
184
|
|
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.09 |
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 |