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.
2742 2743 2744 2745 2746 2747 2748 |
# File 'lib/nexpose.rb', line 2742 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
2738 2739 2740 |
# File 'lib/nexpose.rb', line 2738 def interval @interval end |
#start ⇒ Object (readonly)
The earliest date to generate the report
2740 2741 2742 |
# File 'lib/nexpose.rb', line 2740 def start @start end |
#type ⇒ Object (readonly)
The type of schedule (daily, hourly, monthly, weekly)
2736 2737 2738 |
# File 'lib/nexpose.rb', line 2736 def type @type end |