Method: Contrast::Agent::Reporting::Details::IpDenylistDetails#initialize

Defined in:
lib/contrast/agent/reporting/details/ip_denylist_details.rb

#initialize(ip, uuid) ⇒ IpDenylistDetails

Returns a new instance of IpDenylistDetails.

Parameters:

  • ip (String)

    the IP address that was blocked

  • uuid (String)

    the UUID to identify the block rule in TeamServer



19
20
21
22
23
# File 'lib/contrast/agent/reporting/details/ip_denylist_details.rb', line 19

def initialize ip, uuid
  @ip = ip
  @uuid = uuid
  super()
end