Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

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 authored and Tim Rogers committed Jan 11, 2022
1 parent 975f31e commit 3f1d942
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 3f1d942

Please sign in to comment.