Fey::ORM::Mock::Action::Insert - A record of an insert


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

Index


Code Index:

NAME

Top

Fey::ORM::Mock::Action::Insert - A record of an insert

VERSION

Top

version 0.05

DESCRIPTION

Top

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

METHODS

Top

This class provides the following methods:

$action->values()

Returns the values of the row inserted as a hash reference, with the attribute names as keys. These values are provided as-is, so they may include objects passed to insert()

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::Insert;
BEGIN {
  $Fey::ORM::Mock::Action::Insert::VERSION = '0.05';
}

use strict;
use warnings;

use Moose;
use MooseX::StrictConstructor;

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

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

no Moose;

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

1;

# ABSTRACT: A record of an insert




__END__