Method: Contrast::Agent::Reporting::FindingEventStack#to_controlled_hash
- Defined in:
- lib/contrast/agent/reporting/reporting_events/finding_event_stack.rb
#to_controlled_hash ⇒ Hash
Convert the instance variables on the class, and other information, into the identifiers required for TeamServer to process the JSON form of this message.
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/contrast/agent/reporting/reporting_events/finding_event_stack.rb', line 45 def to_controlled_hash validate { file: file # eval: eval, # This is unused by the Ruby agent # line_number: line_number, # This is unused by the Ruby agent # method: method, # This is unused by the Ruby agent # signature: signature, # This is unused by the Ruby agent # type: type # This is unused by the Ruby agent } end |