gds-api-adapters 51.4.0 → 52.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3affde3eed032af7030f41ee5ed055c61d8f0d2e511e0d834d62e730da2ccdfc
4
- data.tar.gz: 0a3a7d6dee23648ca8073dbf4d00582622f5d63e785168cc273f74c29a0ebb7f
3
+ metadata.gz: 19ed109b9307872018dd4d51de2c82b59bc10bbb0ac0d7740d7f8ff7bc5fc2e8
4
+ data.tar.gz: a8f7fc6a5116e526990a04ef4988ae7012cfc35f792d15f7c38e6a26a034e374
5
5
  SHA512:
6
- metadata.gz: 71a3f4c7ea568eac0e52f2c31b3575434aa1d5b319736c1b2d9db42e41c135d1435568e5c3c1746b01668e51367a392c3e0010f09f02c5356a6135b7a4777936
7
- data.tar.gz: 10721d974ce51e937c2be8d6182b2d4ce5b90d34230875b4752e1e8b7fda4bd0162bb9301769a90b51b9a19cc64e0e7e3eb6f4c28d488e4928cc0f009dd04c7b
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,
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '51.4.0'.freeze
2
+ VERSION = '52.0.0'.freeze
3
3
  end
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: 51.4.0
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-02-27 00:00:00.000000000 Z
11
+ date: 2018-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek