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
53 54 55 56 57 58 59 60 |
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 53 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
47 48 49 50 51 |
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 47 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 |