gds-api-adapters 51.4.0 → 52.0.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 +0 -20
- 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: 19ed109b9307872018dd4d51de2c82b59bc10bbb0ac0d7740d7f8ff7bc5fc2e8
|
4
|
+
data.tar.gz: a8f7fc6a5116e526990a04ef4988ae7012cfc35f792d15f7c38e6a26a034e374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79e442283d5043564c13abb4c233ed1a6fc0792a5853ec0e765ae151aff5643a702c801c4a0e3492bf15d81cdc8d4ba533c50143f867eb82569012c832850fb6
|
7
|
+
data.tar.gz: 2100491e55bb8f6a618562cce252ced527a16e1155755ebcc72256fc30f474b82d8a0745e53efc5b47c97ec74cb85fb77a04d402b7e034ba6bc62a11ca306461
|
@@ -57,26 +57,6 @@ class GdsApi::EmailAlertApi < GdsApi::Base
|
|
57
57
|
post_json("#{endpoint}/notifications", publication, headers)
|
58
58
|
end
|
59
59
|
|
60
|
-
# Get notifications
|
61
|
-
#
|
62
|
-
# @option start_at [String] Optional GovDelivery bulletin id to page back through notifications
|
63
|
-
#
|
64
|
-
# @return [Hash] notifications
|
65
|
-
def notifications(start_at = nil)
|
66
|
-
url = "#{endpoint}/notifications"
|
67
|
-
url += "?start_at=#{start_at}" if start_at
|
68
|
-
get_json(url)
|
69
|
-
end
|
70
|
-
|
71
|
-
# Get notification
|
72
|
-
#
|
73
|
-
# @param id [String] GovDelivery bulletin id
|
74
|
-
#
|
75
|
-
# @return [Hash] notification
|
76
|
-
def notification(id)
|
77
|
-
get_json("#{endpoint}/notifications/#{id}")
|
78
|
-
end
|
79
|
-
|
80
60
|
# Get topic matches
|
81
61
|
#
|
82
62
|
# @param attributes [Hash] tags, links, document_type,
|
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:
|
4
|
+
version: 52.0.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: 2018-
|
11
|
+
date: 2018-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plek
|