Class: SilverlineAPI::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/librato_silverline_api.rb

Class Method Summary collapse

Class Method Details

.delete_by_id(id) ⇒ Object



211
212
213
# File 'lib/librato_silverline_api.rb', line 211

def self.delete_by_id(id)
  RestClient.delete "#{SilverlineAPI.url}/servers/#{id}.json"
end