HammerCLIForeman::SingleResourceCommand
# File lib/hammer_cli_foreman/host.rb, line 295 def get_power_status params = { 'id' => get_identifier, 'power_action' => :state } status = resource.call(:power, params) status["power"] end
# File lib/hammer_cli_foreman/host.rb, line 287 def get_status params = { 'id' => get_identifier, } status = resource.call(:status, params) status["status"] end
# File lib/hammer_cli_foreman/host.rb, line 280 def send_request { :status => get_status, :power => get_power_status } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.