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.
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_id ⇒ Object (readonly)
The Report Configuration ID
1942 1943 1944 |
# File 'lib/nexpose.rb', line 1942 def cfg_id @cfg_id end |
#generated_on ⇒ Object (readonly)
The date on which this report was generated
1947 1948 1949 |
# File 'lib/nexpose.rb', line 1947 def generated_on @generated_on end |
#id ⇒ Object (readonly)
The Report ID
1940 1941 1942 |
# File 'lib/nexpose.rb', line 1940 def id @id end |
#report_uri ⇒ Object (readonly)
The relative URI of the report
1949 1950 1951 |
# File 'lib/nexpose.rb', line 1949 def report_uri @report_uri end |
#status ⇒ Object (readonly)
The status of this report available | generating | failed
1945 1946 1947 |
# File 'lib/nexpose.rb', line 1945 def status @status end |