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
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.
2428 2429 2430 2431 2432 2433 2434 2435 2436 |
# File 'lib/nexpose.rb', line 2428 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
2419 2420 2421 |
# File 'lib/nexpose.rb', line 2419 def cfg_id @cfg_id end |
#generated_on ⇒ Object (readonly)
The date on which this report was generated
2424 2425 2426 |
# File 'lib/nexpose.rb', line 2424 def generated_on @generated_on end |
#id ⇒ Object (readonly)
The Report ID
2417 2418 2419 |
# File 'lib/nexpose.rb', line 2417 def id @id end |
#report_uri ⇒ Object (readonly)
The relative URI of the report
2426 2427 2428 |
# File 'lib/nexpose.rb', line 2426 def report_uri @report_uri end |
#status ⇒ Object (readonly)
available | generating | failed
2422 2423 2424 |
# File 'lib/nexpose.rb', line 2422 def status @status end |