Class: Fog::Support::StormOnDemand::Alerts

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/support/storm_on_demand/models/alerts.rb

Instance Method Summary collapse

Instance Method Details

#get_activeObject



7
8
9
10
# File 'lib/fog/support/storm_on_demand/models/alerts.rb', line 7

def get_active
  alert = service.get_active_alert.body["active_alert"]
  new(alert)
end