NAME
Spica::URIMaker
SYNOPSIS
my $builder = Spica::URIMaker->new(
scheme => 'http',
host => 'example.com',
);
$builder->create(
path_base => '/user/{user_id}',
requires => [qw(user_id)],
param => +{user_id => 1},
);
$builder->as_string; # http://example.com/user/1
DESCRIPTION
METHODS
Spica::URIMaker->new(%args)
arguments be:
- scheme
- host
- port
$maker->create(%args)
arguments be:
- path_base
- requires
- param