NAME

Plack::Middleware::DoCoMoGUID::CheckParam - redirect to param append location if required param is not exist.

SYNOPSIS

use Plack::Builder;

builder {
    enable_if { $_[0]->{HTTP_USER_AGENT} =~ /DoCoMo/i } 'DoCoMoGUID::CheckParam', params => { guid => 'ON' };
    # if you are not specify params parameter, params is handled by { guid => 'ON' }.
};

DESCRIPTION

Plack::Middleware::DoCoMoGUID::CheckParam is a Plack::Middleware that redirect to param append location if required param is not exist.

AUTHOR

Keiji Yoshimi <walf443 at gmail dot com>

SEE ALSO

+<Plack::Middleware>

LICENSE

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