Class: HammerCLIForeman::DeleteCommand
- Inherits:
-
WriteCommand
- Object
- HammerCLI::Apipie::WriteCommand
- WriteCommand
- HammerCLIForeman::DeleteCommand
- Defined in:
- lib/hammer_cli_foreman/commands.rb
Direct Known Subclasses
Architecture::DeleteCommand, CommonParameter::DeleteCommand, ComputeResource::DeleteCommand, HammerCLIForeman::Domain::DeleteCommand, Environment::DeleteCommand, Host::DeleteCommand, Hostgroup::DeleteCommand, Image::DeleteCommand, Location::DeleteCommand, Medium::DeleteCommand, Model::DeleteCommand, OperatingSystem::DeleteCommand, Organization::DeleteCommand, PartitionTable::DeleteCommand, Report::DeleteCommand, SmartProxy::DeleteCommand, Subnet::DeleteCommand, Template::DeleteCommand, User::DeleteCommand
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from WriteCommand
#request_headers, #send_request
Class Method Details
.command_name(name = nil) ⇒ Object
176 177 178 |
# File 'lib/hammer_cli_foreman/commands.rb', line 176 def self.command_name(name=nil) super(name) || "delete" end |
Instance Method Details
#request_params ⇒ Object
182 183 184 |
# File 'lib/hammer_cli_foreman/commands.rb', line 182 def request_params {'id' => get_identifier[0]} end |