Class: Contrast::Agent::Reporting::Details::BotBlockerDetails
- Inherits:
-
ProtectRuleDetails
- Object
- ProtectRuleDetails
- Contrast::Agent::Reporting::Details::BotBlockerDetails
- Defined in:
- lib/contrast/agent/reporting/details/bot_blocker_details.rb
Overview
Bot blocker IA result details info.
Instance Attribute Summary collapse
- #bot ⇒ String
-
#user_agent ⇒ String
User agent header value.
Instance Method Summary collapse
Instance Attribute Details
#bot ⇒ String
13 14 15 |
# File 'lib/contrast/agent/reporting/details/bot_blocker_details.rb', line 13 def bot @bot end |
#user_agent ⇒ String
User agent header value
17 18 19 |
# File 'lib/contrast/agent/reporting/details/bot_blocker_details.rb', line 17 def user_agent @user_agent end |
Instance Method Details
#to_controlled_hash ⇒ Object
19 20 21 22 23 24 |
# File 'lib/contrast/agent/reporting/details/bot_blocker_details.rb', line 19 def to_controlled_hash { bot: bot, userAgent: user_agent } end |