Class: Nexpose::ReportSchedule
- Inherits:
-
Object
- Object
- Nexpose::ReportSchedule
- Defined in:
- lib/nexpose.rb
Overview
Description
Object that represents the schedule on which to automatically generate new reports.
Instance Attribute Summary collapse
-
#interval ⇒ Object
readonly
The frequency with which to run the scan.
-
#start ⇒ Object
readonly
The earliest date to generate the report.
-
#type ⇒ Object
readonly
The type of schedule (daily, hourly, monthly, weekly).
Instance Method Summary collapse
-
#initialize(type, interval, start) ⇒ ReportSchedule
constructor
A new instance of ReportSchedule.
Constructor Details
#initialize(type, interval, start) ⇒ ReportSchedule
Returns a new instance of ReportSchedule.
2391 2392 2393 2394 2395 2396 2397 |
# File 'lib/nexpose.rb', line 2391 def initialize(type, interval, start) @type = type @interval = interval @start = start end |
Instance Attribute Details
#interval ⇒ Object (readonly)
The frequency with which to run the scan
2387 2388 2389 |
# File 'lib/nexpose.rb', line 2387 def interval @interval end |
#start ⇒ Object (readonly)
The earliest date to generate the report
2389 2390 2391 |
# File 'lib/nexpose.rb', line 2389 def start @start end |
#type ⇒ Object (readonly)
The type of schedule (daily, hourly, monthly, weekly)
2385 2386 2387 |
# File 'lib/nexpose.rb', line 2385 def type @type end |