Class: HammerCLIForeman::OperatingSystem::ListCommand
- Inherits:
-
ListCommand
- Object
- HammerCLI::Apipie::ReadCommand
- ListCommand
- HammerCLIForeman::OperatingSystem::ListCommand
- Defined in:
- lib/hammer_cli_foreman/operating_system.rb
Constant Summary
Constants inherited from ListCommand
Instance Method Summary collapse
Methods inherited from ListCommand
#adapter, command_name, #execute, #retrieve_data
Instance Method Details
#extend_data(os) ⇒ Object
16 17 18 19 |
# File 'lib/hammer_cli_foreman/operating_system.rb', line 16 def extend_data(os) os["_os_name"] = Hash[os.select { |k, v| ["name", "major", "minor"].include? k }] os end |