package CatalystX::Routes::Role::Class;

use Moose::Role;
use namespace::clean -except => 'meta';

has _routes => (
    traits  => ['Hash'],
    isa     => 'HashRef[ArrayRef]',
    handles => {
        add_route   => 'set',
        get_route   => 'get',
        route_names => 'keys',
    },
);

1;
