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.
2249 2250 2251 2252 2253 2254 2255 |
# File 'lib/nexpose.rb', line 2249 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
2245 2246 2247 |
# File 'lib/nexpose.rb', line 2245 def interval @interval end |
#start ⇒ Object (readonly)
The earliest date to generate the report
2247 2248 2249 |
# File 'lib/nexpose.rb', line 2247 def start @start end |
#type ⇒ Object (readonly)
The type of schedule (daily, hourly, monthly, weekly)
2243 2244 2245 |
# File 'lib/nexpose.rb', line 2243 def type @type end |