Class: ForemanOpenscap::ReportDashboard::Data
- Inherits:
-
Object
- Object
- ForemanOpenscap::ReportDashboard::Data
- Defined in:
- app/services/foreman_openscap/report_dashboard/data.rb
Instance Attribute Summary collapse
-
#report ⇒ Object
readonly
Returns the value of attribute report.
Instance Method Summary collapse
-
#initialize(filter = "") ⇒ Data
constructor
A new instance of Data.
Constructor Details
#initialize(filter = "") ⇒ Data
Returns a new instance of Data.
5 6 7 8 9 |
# File 'app/services/foreman_openscap/report_dashboard/data.rb', line 5 def initialize(filter = "") @filter = filter @report = {} fetch_data end |
Instance Attribute Details
#report ⇒ Object
Returns the value of attribute report.
3 4 5 |
# File 'app/services/foreman_openscap/report_dashboard/data.rb', line 3 def report @report end |