checking in more pod, some fixes for weird bugs, a manual for migration, an extra...
[catagits/Reaction.git] / lib / Reaction / InterfaceModel / Action / DBIC / Result / Delete.pm
1 package Reaction::InterfaceModel::Action::DBIC::Result::Delete;
2
3 use Reaction::Class;
4 use namespace::clean -except => [ qw(meta) ];
5
6 extends 'Reaction::InterfaceModel::Action::DBIC::Result';
7 with 'Reaction::InterfaceModel::Action::Role::SimpleMethodCall';
8
9 sub _target_model_method { 'delete' }
10
11 __PACKAGE__->meta->make_immutable;
12
13 1;
14
15 __END__;
16
17 =head1 NAME
18
19 Reaction::InterfaceModel::Action::DBIC::Result::Delete
20
21 =head1 DESCRIPTION
22
23 C<Delete> is a subclass of
24 L<Action::DBIC::Result|Reaction::InterfaceModel::Action::DBIC::Result> that consumes
25 L<Role::SimpleMethodCall|'Reaction::InterfaceModel::Action::Role::SimpleMethodCall>
26 to call the C<target_model>'s C<delete> method
27
28 =head1 METHODS
29
30 =head2 _target_model_method
31
32 Returns 'delete'
33
34 =head1 SEE ALSO
35
36 L<Create|Reaction::InterfaceModel::Action::DBIC::ResultSet::Create>,
37 L<DeleteAll|Reaction::InterfaceModel::Action::DBIC::ResultSet::DeleteAll>,
38 L<Update|Reaction::InterfaceModel::Action::DBIC::Result::Update>,
39
40 =head1 AUTHORS
41
42 See L<Reaction::Class> for authors.
43
44 =head1 LICENSE
45
46 See L<Reaction::Class> for the license.
47
48 =cut