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
d6dd9d712a
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 23:21:02 +00: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 12:45:31 +00:00
class
DestroyService
<
BaseService
Delete notes via API
2016-04-05 23:21:02 +00:00
def
execute
(
note
)
note
.
destroy
end
end
end