Fey::ORM::Mock::Action::Delete - A record of a deletion


Fey-ORM-Mock documentation Contained in the Fey-ORM-Mock distribution.

Index


Code Index:

NAME

Top

Fey::ORM::Mock::Action::Delete - A record of a deletion

VERSION

Top

version 0.05

DESCRIPTION

Top

This class represents a record of a call to delete() for a Fey::ORM::Table based object.

METHODS

Top

This class provides the following methods:

$action->pk()

Returns the primary key of the row deleted as a hash reference, with the attribute names as keys.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Fey-ORM-Mock documentation Contained in the Fey-ORM-Mock distribution.

package Fey::ORM::Mock::Action::Delete;
BEGIN {
  $Fey::ORM::Mock::Action::Delete::VERSION = '0.05';
}

use strict;
use warnings;

use Moose;
use MooseX::StrictConstructor;

extends 'Fey::ORM::Mock::Action';

has 'pk' => (
    is       => 'ro',
    isa      => 'HashRef[Value]',
    required => 1,
);

no Moose;

__PACKAGE__->meta()->make_immutable();

1;

# ABSTRACT: A record of a deletion




__END__