Class: OpsGenie::Alert

Inherits:
Object
  • Object
show all
Extended by:
Helper
Defined in:
lib/ops_genie/alert.rb

Class Method Summary collapse

Methods included from Helper

http_post, should_alert?

Class Method Details

.create(params) ⇒ Object



10
11
12
# File 'lib/ops_genie/alert.rb', line 10

def create params
	http_post("/v1/json/alert", params) if should_alert?
end