Fey::ORM::Mock::Action - Factory and base class for recorded actions
version 0.05
This class acts as a factory and base class for actions which are recorded by the mocking layer.
This class provides the following methods:
This method accepts all the parameters that would be provided to an action subclass, and uses the "type" parameter to determine which subclass to instantiate.
You will probably not need to instantiate this class directly, instead just use Fey::ORM::Mock::Recorder->record_action().
Fey::ORM::Mock::Recorder->record_action()
Returns the associated class for an action.
Returns the type for an action, one of "insert", "update", or "delete".
These are convenience methods for checking an action's type.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2010 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0
To install Fey::ORM::Mock, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fey::ORM::Mock
CPAN shell
perl -MCPAN -e shell install Fey::ORM::Mock
For more information on module installation, please visit the detailed CPAN module installation guide.