Class: Crawlberg::SsrfPolicy
- Inherits:
-
Object
- Object
- Crawlberg::SsrfPolicy
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#allowlist ⇒ Array[HostMatcher]?
Returns the value of attribute allowlist.
-
#deny_private ⇒ Boolean?
Returns the value of attribute deny_private.
-
#max_redirects ⇒ Integer?
Returns the value of attribute max_redirects.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ SsrfPolicy
constructor
A new instance of SsrfPolicy.
Constructor Details
#initialize ⇒ SsrfPolicy
Returns a new instance of SsrfPolicy.
478 |
# File 'sig/types.rbs', line 478
def initialize: (?deny_private: bool, ?allowlist: Array[HostMatcher], ?max_redirects: Integer) -> void
|
Instance Attribute Details
#allowlist ⇒ Array[HostMatcher]?
Returns the value of attribute allowlist.
475 476 477 |
# File 'sig/types.rbs', line 475 def allowlist @allowlist end |
#deny_private ⇒ Boolean?
Returns the value of attribute deny_private.
474 475 476 |
# File 'sig/types.rbs', line 474 def deny_private @deny_private end |
#max_redirects ⇒ Integer?
Returns the value of attribute max_redirects.
476 477 478 |
# File 'sig/types.rbs', line 476 def max_redirects @max_redirects end |