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