Class: HammerCLIKatello::HostCollection::CopyCommand
- Inherits:
-
CreateCommand
- Object
- HammerCLIForeman::CreateCommand
- CreateCommand
- HammerCLIKatello::HostCollection::CopyCommand
- Defined in:
- lib/hammer_cli_katello/host_collection.rb
Instance Method Summary collapse
Methods included from ResolverCommons
Instance Method Details
#request_params ⇒ Object
132 133 134 135 136 137 |
# File 'lib/hammer_cli_katello/host_collection.rb', line 132 def request_params params = super # This is a hack to keep Hammer consistent without changing the inconsistent API V2 params['name'] = [HammerCLI.option_accessor_name('new_name')] if params['id'] params end |