Sha256: 940312dc5342bb6f412863863bd1af3b57e082d6555465d2c81c03e2fd4e83d4
Contents?: true
Size: 519 Bytes
Versions: 11
Compression:
Stored size: 519 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: nil, 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
11 entries across 11 versions & 1 rubygems