Class: Crawlberg::SsrfPolicy

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSsrfPolicy

Returns a new instance of SsrfPolicy.

Parameters:

  • deny_private: (Boolean)
  • allowlist: (Array[HostMatcher])
  • max_redirects: (Integer)


479
# File 'sig/types.rbs', line 479

def initialize: (?deny_private: bool, ?allowlist: Array[HostMatcher], ?max_redirects: Integer) -> void

Instance Attribute Details

#allowlistArray[HostMatcher] (readonly)

Returns the value of attribute allowlist.

Returns:



476
477
478
# File 'sig/types.rbs', line 476

def allowlist
  @allowlist
end

#deny_privateBoolean (readonly)

Returns the value of attribute deny_private.

Returns:

  • (Boolean)


475
476
477
# File 'sig/types.rbs', line 475

def deny_private
  @deny_private
end

#max_redirectsInteger (readonly)

Returns the value of attribute max_redirects.

Returns:

  • (Integer)


477
478
479
# File 'sig/types.rbs', line 477

def max_redirects
  @max_redirects
end