Permalink
Browse files

Faraday 0.8 compat

  • Loading branch information...
mislav committed Jan 29, 2012
1 parent c73aa6e commit e95549b4fa80c7c262dc518544f38640bc8253ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/faraday_stack/response_middleware.rb
@@ -14,7 +14,7 @@ def self.define_parser(&block)
def self.inherited(subclass)
super
- subclass.load_error = self.load_error
+ subclass.load_error = self.load_error if subclass.respond_to? :load_error=
subclass.parser = self.parser
end

0 comments on commit e95549b

Please sign in to comment.