Class: Veracode::Result::Flaw

Inherits:
Common::Base show all
Defined in:
lib/veracode/api/flaws.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

#affects_policy_compliance?Boolean

Returns:

  • (Boolean)


119
120
121
# File 'lib/veracode/api/flaws.rb', line 119

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

#pcirelated?Boolean

Returns:

  • (Boolean)


115
116
117
# File 'lib/veracode/api/flaws.rb', line 115

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