class Fog::Compute::Ecloud::Monitors
Public Instance Methods
all()
click to toggle source
# File lib/fog/ecloud/models/compute/monitors.rb, line 12 def all data = service.get_monitors(href).body load(data) end
from_data(data)
click to toggle source
# File lib/fog/ecloud/models/compute/monitors.rb, line 25 def from_data(data) new(data) end
get(uri)
click to toggle source
# File lib/fog/ecloud/models/compute/monitors.rb, line 17 def get(uri) if data = service.get_monitor(uri) new(data.body) end rescue Fog::Errors::NotFound nil end