NAME

DataStore::CAS::CatalystControllerSimpleCASAdapter - Moo Role providing compatibility for Catalyst::Controller::SimpleCAS

VERSION

version 0.06

SYNOPSIS

package MyCAS;
use Moo;
extends 'DataStore::CAS::Simple'; # or whichever backend you want
with 'DataStore::CAS::CatalystControllerSimpleCASAdapter';


package MyCatalystApp;
...
__PACKAGE__->config(
  ...
  'Controller::SimpleCAS' => {
    store_class => 'MyCAS',
    ...
  },
  ...
);

DESCRIPTION

This Role allows you to use a DataStore::CAS object as the back-end for Catalyst::Controller::SimpleCAS. It extends Catalyst::Controller::SimpleCAS::Store and implements the SimpleCAS methods using the equivalent methods of DataStore::CAS.

AUTHOR

Michael Conrad <mconrad@intellitree.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Michael Conrad, and IntelliTree Solutions llc.

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