Class: Nexpose::ReportSummary
- Inherits:
-
Object
- Object
- Nexpose::ReportSummary
- Defined in:
- lib/nexpose.rb
Overview
Description
Object that represents the summary of a single report.
Instance Attribute Summary collapse
-
#cfg_id ⇒ Object
readonly
The Report Configuration ID.
-
#generated_on ⇒ Object
readonly
The date on which this report was generated.
-
#id ⇒ Object
readonly
The Report ID.
-
#report_uri ⇒ Object
readonly
The relative URI of the report.
-
#status ⇒ Object
readonly
The status of this report available | generating | failed.
Instance Method Summary collapse
-
#initialize(id, cfg_id, status, generated_on, report_uri) ⇒ ReportSummary
constructor
A new instance of ReportSummary.
Constructor Details
#initialize(id, cfg_id, status, generated_on, report_uri) ⇒ ReportSummary
Returns a new instance of ReportSummary.
2299 2300 2301 2302 2303 2304 2305 2306 2307 |
# File 'lib/nexpose.rb', line 2299 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_id ⇒ Object (readonly)
The Report Configuration ID
2290 2291 2292 |
# File 'lib/nexpose.rb', line 2290 def cfg_id @cfg_id end |
#generated_on ⇒ Object (readonly)
The date on which this report was generated
2295 2296 2297 |
# File 'lib/nexpose.rb', line 2295 def generated_on @generated_on end |
#id ⇒ Object (readonly)
The Report ID
2288 2289 2290 |
# File 'lib/nexpose.rb', line 2288 def id @id end |
#report_uri ⇒ Object (readonly)
The relative URI of the report
2297 2298 2299 |
# File 'lib/nexpose.rb', line 2297 def report_uri @report_uri end |
#status ⇒ Object (readonly)
The status of this report available | generating | failed
2293 2294 2295 |
# File 'lib/nexpose.rb', line 2293 def status @status end |