Commit | Line | Data |
7adfd53f |
1 | package Reaction::InterfaceModel::Action::DBIC::Result::Delete; |
2 | |
7adfd53f |
3 | use Reaction::Class; |
81393881 |
4 | use namespace::clean -except => [ qw(meta) ]; |
336b3bb0 |
5 | |
1c601a76 |
6 | extends 'Reaction::InterfaceModel::Action::DBIC::Result'; |
7 | with 'Reaction::InterfaceModel::Action::Role::SimpleMethodCall'; |
b8faba69 |
8 | |
1c601a76 |
9 | sub _target_model_method { 'delete' } |
81393881 |
10 | |
11 | __PACKAGE__->meta->make_immutable; |
7adfd53f |
12 | |
7adfd53f |
13 | 1; |
14 | |
1c601a76 |
15 | __END__; |
16 | |
7adfd53f |
17 | =head1 NAME |
18 | |
19 | Reaction::InterfaceModel::Action::DBIC::Result::Delete |
20 | |
21 | =head1 DESCRIPTION |
22 | |
1c601a76 |
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>, |
7adfd53f |
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 |