new options

This commit is contained in:
Christian Mehlmauer
2016-07-21 21:27:21 +02:00
parent 2cc5bb0311
commit 7f2762eb6f
3 changed files with 30 additions and 6 deletions

View File

@@ -3,9 +3,8 @@
class Browser
module Options
attr_accessor :request_timeout, :connect_timeout
attr_accessor :request_timeout, :connect_timeout, :user_agent, :disable_accept_header, :disable_referer
attr_reader :basic_auth, :cache_ttl, :proxy, :proxy_auth, :throttle
attr_writer :user_agent
# Sets the Basic Authentification credentials
# Accepted format: