Class: Veracode::Upload::Application

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

#cots?Boolean

Returns:

  • (Boolean)


104
105
106
# File 'lib/veracode/api/upload.rb', line 104

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

#is_web_application?Boolean

Returns:

  • (Boolean)


100
101
102
# File 'lib/veracode/api/upload.rb', line 100

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