class Lita::Handlers::AlertlogicIncidents
Alert Logic Incident routes
Public Instance Methods
incidents_list(response)
click to toggle source
Customer Info Definition
# File lib/lita/handlers/alertlogic_incidents.rb, line 34 def incidents_list(response) customer = response.match_data[1] return response.reply(t('validation.customer_id')) if customer.nil? customer_id = process_customer_id(customer.strip) response.reply get_incidents(customer_id) end