Class: Veracode::Result::CWE

Inherits:
Common::Base show all
Defined in:
lib/veracode/api/detailed.rb

Instance Method Summary collapse

Methods inherited from Common::Base

api_field, api_type_field, #initialize

Constructor Details

This class inherits a constructor from Veracode::Common::Base

Instance Method Details

#descriptionObject



14
15
16
# File 'lib/veracode/api/detailed.rb', line 14

def description
  @xml_hash.description.text.text
end

#pcirelated?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/veracode/api/detailed.rb', line 10

def pcirelated?
  @pcirelated ||= @xml_hash.pcirelated.to_bool
end