lib/http_utilities/http/request.rb in http_utilities-1.3.2 vs lib/http_utilities/http/request.rb in http_utilities-1.3.3

- old
+ new

@@ -5,15 +5,15 @@ include HttpUtilities::Http::ProxySupport include HttpUtilities::Http::UserAgent attr_accessor :interface, :proxy, :user_agent - def initialize(interface: nil, proxy: {}, options: {}) + def initialize(interface: nil, proxy: nil, options: {}) self.interface = interface self.proxy = proxy self.set_user_agent(device: options.fetch(:user_agent_device, :desktop)) end end end -end \ No newline at end of file +end