pagerduty 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pagerduty.rb +4 -0
- data/pagerduty.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
data/lib/pagerduty.rb
CHANGED
@@ -26,6 +26,10 @@ class Pagerduty
|
|
26
26
|
PagerdutyIncident.new @service_key, resp["incident_key"]
|
27
27
|
end
|
28
28
|
|
29
|
+
def get_incident(incident_key)
|
30
|
+
PagerdutyIncident.new @service_key, incident_key
|
31
|
+
end
|
32
|
+
|
29
33
|
protected
|
30
34
|
def api_call(event_type, description, details = {})
|
31
35
|
params = { :event_type => event_type, :service_key => @service_key, :description => description, :details => details }
|
data/pagerduty.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagerduty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 1.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- charliesome
|