Permalink
Browse files

save @options in ResponseMiddleware instances

  • Loading branch information...
1 parent f88408f commit 0464e529a9950e34e6ee1c32808e8956e7b40ce6 @mislav committed Mar 28, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/faraday_stack/response_middleware.rb
View
1 lib/faraday_stack/response_middleware.rb
@@ -27,6 +27,7 @@ def self.inherited(subclass)
def initialize(app = nil, options = {})
super(app)
+ @options = options
@content_types = Array(options[:content_type])
end

0 comments on commit 0464e52

Please sign in to comment.