Class: HammerCLIKatello::ContentViewPuppetModule::DeleteCommand
- Inherits:
-
DeleteCommand
- Object
- HammerCLIForeman::DeleteCommand
- DeleteCommand
- HammerCLIKatello::ContentViewPuppetModule::DeleteCommand
- Includes:
- OrganizationOptions
- Defined in:
- lib/hammer_cli_katello/content_view_puppet_module.rb
Instance Method Summary collapse
Methods included from OrganizationOptions
Methods included from ResolverCommons
Instance Method Details
#all_options ⇒ Object
62 63 64 65 66 67 68 69 |
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 62 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
56 57 58 59 60 |
# File 'lib/hammer_cli_katello/content_view_puppet_module.rb', line 56 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 |