aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/ViewPort/URI.pm
blob: a23330f0da120150a4ad8ed1f995d206fdba8bfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package Reaction::UI::ViewPort::URI;

use Reaction::Class;
use namespace::clean -except => [ qw(meta) ];
use MooseX::Types::URI qw/Uri/;
extends 'Reaction::UI::ViewPort';

has uri => ( is => 'rw', isa => Uri, required => 1);
has display => ( is => 'rw' );

__PACKAGE__->meta->make_immutable;

1;

__END__;


=head1 NAME

Reaction::UI::ViewPort::URI

=head1 DESCRIPTION

Viewport for a URI object

=head1 ATTRIBUTES

=head2 uri

Required URI object representing the URI you wish to point to.

=head2 display

Optional. How this item will be displayed. Current implementations support
a plain string or a ViewPort object for this value

=head1 AUTHORS

See L<Reaction::Class> for authors.

=head1 LICENSE

See L<Reaction::Class> for the license.

=cut