Class: SocksHandler::DirectAccessRule
- Defined in:
- lib/socks_handler/direct_access_rule.rb
Instance Attribute Summary
Attributes inherited from Rule
#host, #host_patterns, #password, #port, #username
Instance Method Summary collapse
- #direct ⇒ true
-
#initialize(host_patterns:) ⇒ DirectAccessRule
constructor
A new instance of DirectAccessRule.
Methods inherited from Rule
Constructor Details
#initialize(host_patterns:) ⇒ DirectAccessRule
Returns a new instance of DirectAccessRule.
7 8 9 |
# File 'lib/socks_handler/direct_access_rule.rb', line 7 def initialize(host_patterns:) super(host_patterns: host_patterns) end |
Instance Method Details
#direct ⇒ true
12 13 14 |
# File 'lib/socks_handler/direct_access_rule.rb', line 12 def direct true end |