Class: Contrast::Agent::Reporting::Details::XxeWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/contrast/agent/reporting/details/xxe_wrapper.rb

Overview

Wrapper data for XXE rule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#public_idString

Returns:



13
14
15
# File 'lib/contrast/agent/reporting/details/xxe_wrapper.rb', line 13

def public_id
  @public_id
end

#system_idString

Returns:



11
12
13
# File 'lib/contrast/agent/reporting/details/xxe_wrapper.rb', line 11

def system_id
  @system_id
end

Instance Method Details

#to_controlled_hashObject



15
16
17
18
19
20
# File 'lib/contrast/agent/reporting/details/xxe_wrapper.rb', line 15

def to_controlled_hash
  {
      systemId: system_id,
      publicId: public_id
  }
end