Class: HammerCLIKatello::HostCollection::ContentBaseCommand
- Inherits:
-
Command
- Object
- HammerCLIForeman::Command
- Command
- HammerCLIKatello::HostCollection::ContentBaseCommand
show all
- Defined in:
- lib/hammer_cli_katello/host_collection.rb
Instance Method Summary
collapse
included
Instance Method Details
#request_params ⇒ Object
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
# File 'lib/hammer_cli_katello/host_collection.rb', line 198
def request_params
params = super
host_collection_id = resolver.host_collection_id(
'option_id' => option_host_collection_id,
'option_name' => option_host_collection_name,
'option_organization_id' => params['organization_id']
)
params['content'] = content
params['content_type'] = content_type
params['included'] = { search: "host_collection_id=\"#{host_collection_id}\"" }
params
end
|