Method: Bmc::Sdk::Reset#execute
- Defined in:
- lib/commands.rb
#execute ⇒ Object
157 158 159 160 161 162 |
# File 'lib/commands.rb', line 157 def execute return @client.post( "#{Entrypoint}servers/#{@server.id}/actions/reset", headers: {'Content-Type': 'application/json'}, body: @server.to_json) end |