Skip to content

Commit

Permalink
Update Faraday middleware reference
Browse files Browse the repository at this point in the history
This class module was refactored and redesigned in lostisland/faraday#1301
  • Loading branch information
Sasha Gerrand committed Jan 5, 2022
1 parent 8277111 commit 9271a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/duffel_api/middlewares/raise_duffel_errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module DuffelAPI
module Middlewares
class RaiseDuffelErrors < Faraday::Response::Middleware
class RaiseDuffelErrors < Faraday::Middleware
UNEXPECTED_ERROR_STATUSES = (501..599).freeze
EXPECTED_ERROR_STATUSES = (400..500).freeze

Expand Down

0 comments on commit 9271a5a

Please sign in to comment.