gds-api-adapters 59.4.0 → 59.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/gds_api/email_alert_api.rb +2 -0
- data/lib/gds_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c5457ed50e9887e8cb91bf7394c1cca5939650583ff0faac780a127e21189af
|
|
4
|
+
data.tar.gz: 30d4ea1288363ee423e1e8711321e8942469029daf684a273ff179d167eebc0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ef72b2319e0aa6e2068e48b564b8f1518c7cc1c2fb3937d52ce87f279e18f2e855ae6eb0ee2519577cdc1f073db1f64b41ce33a216aa4cd670594190643536d
|
|
7
|
+
data.tar.gz: ff6c991dd8cf02a4d2d410592c33d3cf0a60552cefe4055b731ac12d57b463e7706f1703b975b9974bc5a7b579a25e8f66e67eaceebe24c3b2718af9c38bb71d
|
|
@@ -25,6 +25,7 @@ class GdsApi::EmailAlertApi < GdsApi::Base
|
|
|
25
25
|
email_document_supertype = attributes["email_document_supertype"]
|
|
26
26
|
government_document_supertype = attributes["government_document_supertype"]
|
|
27
27
|
gov_delivery_id = attributes["gov_delivery_id"]
|
|
28
|
+
combine_mode = attributes["combine_mode"]
|
|
28
29
|
|
|
29
30
|
if tags && links
|
|
30
31
|
message = "please provide either tags or links (or neither), but not both"
|
|
@@ -38,6 +39,7 @@ class GdsApi::EmailAlertApi < GdsApi::Base
|
|
|
38
39
|
params[:email_document_supertype] = email_document_supertype if email_document_supertype
|
|
39
40
|
params[:government_document_supertype] = government_document_supertype if government_document_supertype
|
|
40
41
|
params[:gov_delivery_id] = gov_delivery_id if gov_delivery_id
|
|
42
|
+
params[:combine_mode] = combine_mode if combine_mode
|
|
41
43
|
|
|
42
44
|
query_string = nested_query_string(params)
|
|
43
45
|
get_json("#{endpoint}/subscriber-lists?" + query_string)
|
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: 59.
|
|
4
|
+
version: 59.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|