Class: HammerCLIKatello::ContentViewPuppetModule::DeleteCommand
- Inherits:
-
DeleteCommand
- Object
- HammerCLIForeman::DeleteCommand
- DeleteCommand
- HammerCLIKatello::ContentViewPuppetModule::DeleteCommand
- Defined in:
- lib/hammer_cli_katello/content_view_puppet_module.rb
Instance Method Summary collapse
Methods included from ResolverCommons
Instance Method Details
#all_options ⇒ Object
56 57 58 59 60 61 62 63 |
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 56 def if super['option_id'] super.merge(HammerCLI.option_accessor_name("id") => resolve_puppet_module_id_from_uuid(super)) else super end end |
#resolve_puppet_module_id_from_uuid(options) ⇒ Object
50 51 52 53 54 |
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 50 def resolve_puppet_module_id_from_uuid() uuid = .delete HammerCLI.option_accessor_name("id") [HammerCLI.option_accessor_name("uuid")] = uuid resolver.content_view_puppet_module_id() end |