Sha256: 98df092541b099896f15c58d1621f66bb7eb2fd668a4f8866f8128a538f47daa
Contents?: true
Size: 517 Bytes
Versions: 10
Compression:
Stored size: 517 Bytes
Contents
module HttpUtilities module Http class Request include HttpUtilities::Http::Logger include HttpUtilities::Http::ProxySupport include HttpUtilities::Http::UserAgent attr_accessor :interface, :proxy, :user_agent def initialize(interface: nil, proxy: {}, options: {}) self.interface = interface self.proxy = proxy self.set_user_agent(device: options.fetch(:user_agent_device, :desktop)) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems