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