Skip to content

Commit

Permalink
Merge pull request nbulaj#39 from alexanderadam/master
Browse files Browse the repository at this point in the history
ruby 3 compatibility
  • Loading branch information
nbulaj authored Feb 17, 2021
2 parents 89f508c + 1c558d8 commit 3d15056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/proxy_fetcher/utils/http_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class HTTPClient
# resource content
#
def self.fetch(*args)
new(*args).fetch
url = args.shift
new(url, **args.first).fetch
end

# Initialize HTTP client instance
Expand Down

0 comments on commit 3d15056

Please sign in to comment.