lib/bugsnag/api/client/comments.rb in bugsnag-api-1.0.0 vs lib/bugsnag/api/client/comments.rb in bugsnag-api-1.0.1
- old
+ new
@@ -54,10 +54,10 @@
#
# @param comment [String] The Bugsnag comment to delete
# @return [Boolean] `true` if comment was deleted
# @see https://bugsnag.com/docs/api/comments#delete-a-comment
def delete_comment(comment, options = {})
- delete "comments/#{comment}", options
+ boolean_from_response :delete, "comments/#{comment}", options
end
end
end
end
end