Class: ProactiveSupport::Mgmt::Alerts

Inherits:
Object
  • Object
show all
Defined in:
lib/proactive_support/mgmt/alerts.rb

Class Method Summary collapse

Class Method Details

.error(customer_id, message, options = {}) ⇒ Object



13
14
15
# File 'lib/proactive_support/mgmt/alerts.rb', line 13

def error(customer_id, message, options = {})
  create 'error', customer_id, message, options
end

.info(customer_id, message, options = {}) ⇒ Object



5
6
7
# File 'lib/proactive_support/mgmt/alerts.rb', line 5

def info(customer_id, message, options = {})
  create 'info', customer_id, message, options
end

.warn(customer_id, message, options = {}) ⇒ Object



9
10
11
# File 'lib/proactive_support/mgmt/alerts.rb', line 9

def warn(customer_id, message, options = {})
  create 'warn', customer_id, message, options
end