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

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

Instance Method Summary collapse

Instance Method Details

#get_activeObject



10
11
12
13
# File 'lib/fog/storm_on_demand/models/support/alerts.rb', line 10

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