class Crowbar::Client::Command::Services::ClearServiceRestart

Implementation for the List Restarts command

Public Instance Methods

execute() click to toggle source
# File lib/crowbar/client/command/services/clear_restart.rb, line 33
def execute
  request.process do |request|
    err request.parsed_response["error"] if request.code != 200
  end
end
request() click to toggle source
# File lib/crowbar/client/command/services/clear_restart.rb, line 27
def request
  @request ||= Request::Services::ClearServiceRestart.new(
    args
  )
end