Class: Nexpose::ReportSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose.rb

Overview

Description

Object that represents the summary of a single report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, cfg_id, status, generated_on, report_uri) ⇒ ReportSummary

Returns a new instance of ReportSummary.



1951
1952
1953
1954
1955
1956
1957
1958
1959
# File 'lib/nexpose.rb', line 1951

def initialize(id, cfg_id, status, generated_on, report_uri)

	@id = id
	@cfg_id = cfg_id
	@status = status
	@generated_on = generated_on
	@report_uri = report_uri

end

Instance Attribute Details

#cfg_idObject (readonly)

The Report Configuration ID



1942
1943
1944
# File 'lib/nexpose.rb', line 1942

def cfg_id
  @cfg_id
end

#generated_onObject (readonly)

The date on which this report was generated



1947
1948
1949
# File 'lib/nexpose.rb', line 1947

def generated_on
  @generated_on
end

#idObject (readonly)

The Report ID



1940
1941
1942
# File 'lib/nexpose.rb', line 1940

def id
  @id
end

#report_uriObject (readonly)

The relative URI of the report



1949
1950
1951
# File 'lib/nexpose.rb', line 1949

def report_uri
  @report_uri
end

#statusObject (readonly)

The status of this report available | generating | failed



1945
1946
1947
# File 'lib/nexpose.rb', line 1945

def status
  @status
end