package Dancer2::Plugin::Menu::Item ;
$Dancer2::Plugin::Menu::Item::VERSION = '0.001';
# ABSTRACT: Object representing a Dancer2 menu item
use Moo;

has 'url' => (is => 'ro', isa => 'Str', required => 1);
has 'path' => (is => 'ro', isa => 'Str', required => 1);

__END__

=pod

=head1 NAME

Dancer2::Plugin::Menu::Item - Object representing a Dancer2 menu item

=head1 VERSION

version 0.001

=head1 REQUIRES

=over 4

=item * L<Moo|Moo>

=back

=head1 BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the
web interface at L<https://github.com/sdondley/Dancer2-Plugin-Menu/issues>.

=head1 INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

=head1 AUTHOR

Steve Dondley <s@dondley.com>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Steve Dondley.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut
