pagerduty 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/pagerduty.rb +4 -0
  3. data/pagerduty.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pagerduty}
8
- s.version = "1.0.1"
8
+ s.version = "1.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["charliesome"]
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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 0
9
8
  - 1
10
- version: 1.0.1
9
+ - 0
10
+ version: 1.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - charliesome