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.
-
#scheme_allowlist ⇒ Array[String]
readonly
Returns the value of attribute scheme_allowlist.
Instance Method Summary collapse
-
#initialize ⇒ SsrfPolicy
constructor
A new instance of SsrfPolicy.
Constructor Details
#initialize ⇒ SsrfPolicy
Returns a new instance of SsrfPolicy.
480 |
# File 'sig/types.rbs', line 480
def initialize: (?deny_private: bool, ?allowlist: Array[HostMatcher], ?max_redirects: Integer, ?scheme_allowlist: Array[String]) -> 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 |
#scheme_allowlist ⇒ Array[String] (readonly)
Returns the value of attribute scheme_allowlist.
478 479 480 |
# File 'sig/types.rbs', line 478 def scheme_allowlist @scheme_allowlist end |