Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #18 from BrandonMathis/faraday_fix
Browse files Browse the repository at this point in the history
Update middleware to remove warning.
  • Loading branch information
Sam Symons committed Jan 29, 2014
2 parents fe7cf8b + 230e215 commit 71d1150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redditkit/client.rb
Expand Up @@ -74,7 +74,7 @@ def user_agent
end

def middleware
@middleware ||= Faraday::Builder.new do |builder|
@middleware ||= Faraday::RackBuilder.new do |builder|
builder.use Faraday::Request::UrlEncoded
builder.use RedditKit::Response::RaiseError
builder.use RedditKit::Response::ParseJSON
Expand Down

0 comments on commit 71d1150

Please sign in to comment.