| 1 | package CatalystX::Action::Negotiate; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | extends 'Catalyst::Action'; | |
| 10 | 1 | with 'CatalystX::ActionRole::Negotiate'; | |
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | CatalystX::ActionRole::Negotiate - ActionRole for content negotiation | ||
| 15 | |||
| 16 | =head1 VERSION | ||
| 17 | |||
| 18 | Version 0.05 | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | 1 | our $VERSION = '0.05'; | |
| 23 | |||
| 24 | =head1 SYNOPSIS | ||
| 25 | |||
| 26 | sub foo :Private :ActionClass('+CatalystX::Action::Negotiate') { | ||
| 27 | # ... | ||
| 28 | } | ||
| 29 | |||
| 30 | sub bar :Does('+CatalystX::ActionRole::Negotiate') { | ||
| 31 | # ... see this module's docs | ||
| 32 | } | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | This module is the stand-alone object-oriented form of the role | ||
| 37 | L<CatalystX::ActionRole::Negotiate>. | ||
| 38 | |||
| 39 | =head1 SEE ALSO | ||
| 40 | |||
| 41 | =over 4 | ||
| 42 | |||
| 43 | =item | ||
| 44 | |||
| 45 | L<Catalyst::Action> | ||
| 46 | |||
| 47 | =item | ||
| 48 | |||
| 49 | L<HTTP::Negotiate> | ||
| 50 | |||
| 51 | =item | ||
| 52 | |||
| 53 | L<Role::MimeInfo> | ||
| 54 | |||
| 55 | =back | ||
| 56 | |||
| 57 | =head1 AUTHOR | ||
| 58 | |||
| 59 | Dorian Taylor, C<< <dorian at cpan.org> >> | ||
| 60 | |||
| 61 | =head1 BUGS | ||
| 62 | |||
| 63 | Please report bugs | ||
| 64 | L<on GitHub|https://github.com/doriantaylor/p5-catalystx-action-negotiate/issues>. | ||
| 65 | |||
| 66 | =head1 SUPPORT | ||
| 67 | |||
| 68 | You can find documentation for this module with the perldoc command. | ||
| 69 | |||
| 70 | perldoc CatalystX::Action::Negotiate | ||
| 71 | |||
| 72 | You can also look for information at: | ||
| 73 | |||
| 74 | =over 4 | ||
| 75 | |||
| 76 | =item * MetaCPAN | ||
| 77 | |||
| 78 | L<http://metacpan.org/release/CatalystX-Action-Negotiate/> | ||
| 79 | |||
| 80 | =item * The source | ||
| 81 | |||
| 82 | L<https://github.com/doriantaylor/p5-catalystx-action-negotiate> | ||
| 83 | |||
| 84 | =back | ||
| 85 | |||
| 86 | =head1 LICENSE AND COPYRIGHT | ||
| 87 | |||
| 88 | Copyright 2019 Dorian Taylor. | ||
| 89 | |||
| 90 | Licensed under the Apache License, Version 2.0 (the "License"); you | ||
| 91 | may not use this file except in compliance with the License. You may | ||
| 92 | obtain a copy of the License at | ||
| 93 | L<http://www.apache.org/licenses/LICENSE-2.0>. | ||
| 94 | |||
| 95 | Unless required by applicable law or agreed to in writing, software | ||
| 96 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 97 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||
| 98 | implied. See the License for the specific language governing | ||
| 99 | permissions and limitations under the License. | ||
| 100 | |||
| 101 | =cut | ||
| 102 | |||
| 103 | 1 | 1; # End of CatalystX::ActionRole::Negotiate | |