Class: ForemanOpenscap::Asset
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ForemanOpenscap::Asset
- Defined in:
- app/models/foreman_openscap/asset.rb
Instance Method Summary collapse
Instance Method Details
#host ⇒ Object
9 10 11 |
# File 'app/models/foreman_openscap/asset.rb', line 9 def host fetch_asset('Host::Base') end |
#hostgroup ⇒ Object
13 14 15 |
# File 'app/models/foreman_openscap/asset.rb', line 13 def hostgroup fetch_asset('Hostgroup') end |
#name ⇒ Object
17 18 19 |
# File 'app/models/foreman_openscap/asset.rb', line 17 def name assetable.name end |