Class: Xberg::SsrfPolicy
- Inherits:
-
Object
- Object
- Xberg::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
2415 |
# File 'sig/types.rbs', line 2415
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.
2411 2412 2413 |
# File 'sig/types.rbs', line 2411 def allowlist @allowlist end |
#deny_private ⇒ Boolean (readonly)
Returns the value of attribute deny_private.
2410 2411 2412 |
# File 'sig/types.rbs', line 2410 def deny_private @deny_private end |
#max_redirects ⇒ Integer (readonly)
Returns the value of attribute max_redirects.
2412 2413 2414 |
# File 'sig/types.rbs', line 2412 def max_redirects @max_redirects end |
#scheme_allowlist ⇒ Array[String] (readonly)
Returns the value of attribute scheme_allowlist.
2413 2414 2415 |
# File 'sig/types.rbs', line 2413 def scheme_allowlist @scheme_allowlist end |