gds-api-adapters 29.3.0 → 29.3.1
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/test_helpers/publishing_api_v2.rb +2 -2
- data/lib/gds_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47a5ea938b00f84981bf99e6cd2f0e3d6fb94b3f
|
|
4
|
+
data.tar.gz: a35284df3295fd23b5fc59771649acebf7f64cd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac5a10f123ecbf570a1ec183968d5e5d76faeb2bdc2423eace86dfea7ef56250fbe8f964b0295fd26d6c3fe281b183230a6b114e44e45ce98e27a15d22384426
|
|
7
|
+
data.tar.gz: 2f25ce61b3eead78a1579882485efbc9bdfbda4cf3a227c835c42500fabdcf9024d3e15b6aabb8c63393d2af14f9b0a4efaa8d37fe6427ad1f2fe774bd600537
|
|
@@ -148,8 +148,8 @@ module GdsApi
|
|
|
148
148
|
stub_request(:get, url).to_return(:status => 200, :body => body.to_json, :headers => {})
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
def publishing_api_has_linkables(linkables,
|
|
152
|
-
url = PUBLISHING_API_V2_ENDPOINT + "/linkables?
|
|
151
|
+
def publishing_api_has_linkables(linkables, document_type:)
|
|
152
|
+
url = PUBLISHING_API_V2_ENDPOINT + "/linkables?document_type=#{document_type}"
|
|
153
153
|
stub_request(:get, url).to_return(:status => 200, :body => linkables.to_json, :headers => {})
|
|
154
154
|
end
|
|
155
155
|
|
data/lib/gds_api/version.rb
CHANGED