Skip to content

Commit

Permalink
ruby 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderadam committed Feb 16, 2021
1 parent 89f508c commit 1c558d8
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 1c558d8

Please sign in to comment.