Changed default match to use path instead of result
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType.pm
CommitLineData
b96f127f 1package Catalyst::DispatchType;
2
3use strict;
2633d7dc 4use base 'Class::Accessor::Fast';
b96f127f 5
2633d7dc 6=head1 NAME
b96f127f 7
2633d7dc 8Catalyst::DispatchType - DispatchType Base Class
b96f127f 9
2633d7dc 10=head1 SYNOPSIS
11
12See L<Catalyst>.
13
14=head1 DESCRIPTION
15
16=head1 METHODS
17
18=over 4
19
a9cbd748 20=item $self->list($c)
21
22=cut
23
24sub list { }
25
2633d7dc 26=item $self->match( $c, $path )
27
28=cut
29
30sub match { die "Abstract method!" }
31
32=item $self->register( $c, $action )
33
34=cut
35
a9cbd748 36sub register { }
2633d7dc 37
38=back
39
40=head1 AUTHOR
41
42Matt S Trout
43Sebastian Riedel, C<sri@cpan.org>
44
45=head1 COPYRIGHT
46
47This program is free software, you can redistribute it and/or modify it under
48the same terms as Perl itself.
49
50=cut
b96f127f 51
521;