pagerduty-sdk 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fd8e2d77075c877e57f0f9f31c00cbe2be4d093
4
- data.tar.gz: c670ba7104f17fbcdbb3b3922fab5ab939766ada
3
+ metadata.gz: c98396176a76952715e9a1203ea004442199318b
4
+ data.tar.gz: 13ee7b572ecbb6bae3c24f91c5e8e8c89697ee15
5
5
  SHA512:
6
- metadata.gz: 8a924e251cb1d4fcc3982dc0bdce9170b0e7dc649d160d6fd8868d9a9d0e443577a281ea3f06c588aaa62f00a532d90614ca60b0fb59e18eaa35d124739b9285
7
- data.tar.gz: 66a3965d498497c8647c735e1fb36c943fac8725b559cb65667dfbc22613ca67bc6f4c4597db674a212616d13df0ed08372e2cb73d8b9b922aad77d250ac091a
6
+ metadata.gz: 51d72e865797501c95b3624847d919bc8e71981422373be73d73c337947b938ad76f1a903e835347ff35ae1733573daf4a486a0711c218a9d93f8fa11a9ae228
7
+ data.tar.gz: e082cf18dcac158bb1fbf60333dc6ef3fc8a39d8a489e9379faf69a34d1593c95531919fe07b47d6cea5a691c662afc392e77da2bffe8f7578255fa18fc76798
@@ -19,7 +19,10 @@ class Pagerduty
19
19
  end
20
20
 
21
21
  def notes
22
- super(self.id)
22
+ Notes.new(curl({
23
+ uri: "https://#@@subdomain.pagerduty.com/api/v1/incidents/#{self.id}/notes",
24
+ method: 'GET'
25
+ }))
23
26
  end
24
27
 
25
28
  def acknowledge
@@ -6,7 +6,7 @@ require 'pagerduty/pagerduty'
6
6
 
7
7
  Gem::Specification.new do |gem|
8
8
  gem.name = "pagerduty-sdk"
9
- gem.version = '1.0.4'
9
+ gem.version = '1.0.5'
10
10
  gem.authors = ["Alfred Moreno"]
11
11
  gem.email = ["kryptek@gmail.com"]
12
12
  gem.description = %q{An SDK for Pagerduty's API}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagerduty-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alfred Moreno