This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
aaa70a62b0
gitlab-org--gitlab-foss
/
app
/
services
/
notes
/
destroy_service.rb
8 lines
109 B
Ruby
Raw
Normal View
History
Unescape
Escape
Delete notes via API
2016-04-05 19:21:02 -04:00
module
Notes
Fix inconsistent naming for services that delete things * Changed name of delete_user_service and worker to destroy * Move and change delete_group_service to Groups::DestroyService * Rename Notes::DeleteService to Notes::DestroyService
2016-08-13 08:45:31 -04:00
class
DestroyService
<
BaseService
Delete notes via API
2016-04-05 19:21:02 -04:00
def
execute
(
note
)
note
.
destroy
end
end
end
Copy permalink