Object consumes Action and Collection consumes Pager and Action, so Member::WithActio...
[catagits/Reaction.git] / lib / Reaction / UI / ViewPort / URI.pm
CommitLineData
36fb39fa 1package Reaction::UI::ViewPort::URI;
2
3use Reaction::Class;
4use namespace::clean -except => [ qw(meta) ];
7b5e71ad 5use MooseX::Types::URI qw/Uri/;
36fb39fa 6extends 'Reaction::UI::ViewPort';
7
7b5e71ad 8has uri => ( is => 'rw', isa => Uri, required => 1);
36fb39fa 9has display => ( is => 'rw' );
10
11__PACKAGE__->meta->make_immutable;
12
131;
7ea09fbb 14
15__END__;
16
17
18=head1 NAME
19
20Reaction::UI::ViewPort::URI
21
22=head1 DESCRIPTION
23
24Viewport for a URI object
25
26=head1 ATTRIBUTES
27
28=head2 uri
29
30Required URI object representing the URI you wish to point to.
31
32=head2 display
33
34Optional. How this item will be displayed. Current implementations support
35a plain string or a ViewPort object for this value
36
37=head1 AUTHORS
38
39See L<Reaction::Class> for authors.
40
41=head1 LICENSE
42
43See L<Reaction::Class> for the license.
44
45=cut