Skip to content
Snippets Groups Projects

Add Get Web hook events API

4 files
+ 83
3
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -35,11 +35,11 @@ def by_status_code(logs)
def string_filter_to_code(status_string)
case status_string
when 'successful'
(200..299).to_a
(200..299)
when 'client_failure'
(400..499).to_a
(400..499)
when 'server_failure'
(500..599).to_a
(500..599)
else
status_string
end
Loading