Class: Contrast::Agent::Reporting::Details::IpDenylistDetails
- Inherits:
-
ProtectRuleDetails
- Object
- ProtectRuleDetails
- Contrast::Agent::Reporting::Details::IpDenylistDetails
- Defined in:
- lib/contrast/agent/reporting/details/ip_denylist_details.rb
Overview
Bot blocker IA result details info.
Instance Attribute Summary collapse
- #ip ⇒ String readonly
- #uuid ⇒ String readonly
Instance Method Summary collapse
-
#initialize(ip, uuid) ⇒ IpDenylistDetails
constructor
A new instance of IpDenylistDetails.
- #to_controlled_hash ⇒ Object
Constructor Details
#initialize(ip, uuid) ⇒ IpDenylistDetails
Returns a new instance of IpDenylistDetails.
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 |
Instance Attribute Details
#ip ⇒ String (readonly)
13 14 15 |
# File 'lib/contrast/agent/reporting/details/ip_denylist_details.rb', line 13 def ip @ip end |
#uuid ⇒ String (readonly)
15 16 17 |
# File 'lib/contrast/agent/reporting/details/ip_denylist_details.rb', line 15 def uuid @uuid end |
Instance Method Details
#to_controlled_hash ⇒ Object
25 26 27 28 29 30 |
# File 'lib/contrast/agent/reporting/details/ip_denylist_details.rb', line 25 def to_controlled_hash { ip: ip, uuid: uuid } end |