class ATSD::AlertsQuery

Class for building and executing Alerts Query @see axibase.com/atsd/api/#alerts:-query

Public Instance Methods

execute() click to toggle source

@return (see result)

# File lib/atsd/queries/alerts_query.rb, line 25
def execute
  result = @client.alerts_query to_request_hash
  @result = result.map { |json| Alert.new json }
end
result() click to toggle source

@return [Array<Alert>]

Calls superclass method
# File lib/atsd/queries/alerts_query.rb, line 20
def result
  super
end