Class: HAStats::Actions::Disable

Inherits:
Base
  • Object
show all
Defined in:
lib/hastats/actions/disable.rb

Instance Attribute Summary

Attributes inherited from Base

#options, #socket

Instance Method Summary collapse

Methods inherited from Base

#initialize, #run

Constructor Details

This class inherits a constructor from HAStats::Actions::Base

Instance Method Details

#command(backend, server) ⇒ Object



7
8
9
# File 'lib/hastats/actions/disable.rb', line 7

def command(backend, server)
  "disable server #{backend}/#{server}"
end

#responseObject



3
4
5
# File 'lib/hastats/actions/disable.rb', line 3

def response
  HAStats::Responses::BlankResult
end