gds-api-adapters 40.2.0 → 40.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gds_api/email_alert_api.rb +2 -2
- data/lib/gds_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 677006f707accb055127d05d3f6882ecf0e2cd88
|
4
|
+
data.tar.gz: 33782001c32d17a122d22db73626aacb1a68219f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ab134e4a84fa4f9d3dbe02834cc51125c122077a3432f857f293190c34745b3a70717c2518e7490c9005bc3ec8bf6a0174baf899ca6a8b4acd9e829352c8df4
|
7
|
+
data.tar.gz: df6d08a55a9998a34a6ab8681c4971cd64f2cac5ddec458b75cabd53de949256779031a08a3970d3eba8e2e06b8c33812d29cb95e441cd6309af0cf49a9313cb
|
@@ -32,8 +32,8 @@ class GdsApi::EmailAlertApi < GdsApi::Base
|
|
32
32
|
# Post notification
|
33
33
|
#
|
34
34
|
# @param publication [Hash] Valid publication attributes
|
35
|
-
def send_alert(publication)
|
36
|
-
post_json("#{endpoint}/notifications", publication)
|
35
|
+
def send_alert(publication, headers = {})
|
36
|
+
post_json("#{endpoint}/notifications", publication, headers)
|
37
37
|
end
|
38
38
|
|
39
39
|
# Get notifications
|
data/lib/gds_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gds-api-adapters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 40.
|
4
|
+
version: 40.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Stewart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plek
|