| Fey-ORM-Mock documentation | view source | Contained in the Fey-ORM-Mock distribution. |
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().
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
| Fey-ORM-Mock documentation | view source | Contained in the Fey-ORM-Mock distribution. |