The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.