mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
ignore more weird const names
This commit is contained in:
parent
6167052fc7
commit
6394090d1b
@ -3,8 +3,10 @@
|
||||
module Faraday
|
||||
class Response
|
||||
class RaiseError < Middleware
|
||||
# rubocop:disable Naming/ConstantName
|
||||
ClientErrorStatuses = (400...500).freeze
|
||||
ServerErrorStatuses = (500...600).freeze
|
||||
# rubocop:enable Naming/ConstantName
|
||||
|
||||
def on_complete(env)
|
||||
case env[:status]
|
||||
|
Loading…
x
Reference in New Issue
Block a user