30 31 32 33 34
# File 'lib/nodata-monitor.rb', line 30 def self.retrieve_all credential credential.client.get_all_alerts[1]['alerts'].map do |alert| Alert.new(alert) end end