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 22c2e6e commit ce5a92e
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 ce5a92e

Please sign in to comment.