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