NAME
Whelk::Resource - Base Kelp controller for Whelk
SYNOPSIS
package My::Resource;
use Kelp::Base 'Whelk::Resource';
# required
sub api
{
my ($self) = @_;
# implement the api
...;
}
DESCRIPTION
This is the base controller for Whelk. It extends Whelk and implements the Resource role, since all controllers for Whelk are API resources by default. If you want to create your own application which uses Kelp::Module::Whelk, take a look at Whelk::Role::Resource instead.