Class: HammerCLIKatello::HostCollection::CreateCommand

Inherits:
CreateCommand
  • Object
show all
Includes:
UuidRequestable
Defined in:
lib/hammer_cli_katello/host_collection.rb

Instance Method Summary collapse

Methods included from UuidRequestable

included

Methods included from ResolverCommons

included

Instance Method Details

#request_paramsObject



38
39
40
41
42
43
44
# File 'lib/hammer_cli_katello/host_collection.rb', line 38

def request_params
  super.tap do |params|
    if params['max_content_hosts'] && params['unlimited_content_hosts'].nil?
      params['unlimited_content_hosts'] = false
    end
  end
end