Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

`dependency` method for middleware is now in Faraday

  • Loading branch information...
commit 4c804bf804af10c823b10e0bab7c60612d54dd81 1 parent 16869ef
Mislav Marohnić authored

Showing 1 changed file with 0 additions and 7 deletions. Show diff stats Hide diff stats

  1. +0 7 lib/faraday_stack/response_middleware.rb
7 lib/faraday_stack/response_middleware.rb
@@ -3,13 +3,6 @@ module FaradayStack
3 3 class ResponseMiddleware < Faraday::Response::Middleware
4 4 CONTENT_TYPE = 'Content-Type'.freeze
5 5
6   - # Executes a block which should try to require and reference dependent libraries
7   - def self.dependency
8   - yield
9   - rescue LoadError, NameError => error
10   - self.load_error = error
11   - end
12   -
13 6 class << self
14 7 attr_accessor :parser
15 8 end

0 comments on commit 4c804bf

Please sign in to comment.
Something went wrong with that request. Please try again.