gds-api-adapters 2.7.1 → 2.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gds_api/content_api.rb +2 -2
- data/lib/gds_api/version.rb +1 -1
- metadata +4 -4
data/lib/gds_api/content_api.rb
CHANGED
@@ -21,11 +21,11 @@ class GdsApi::ContentApi < GdsApi::Base
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def artefact(slug)
|
24
|
-
get_json("#{base_url}/#{
|
24
|
+
get_json("#{base_url}/#{slug}.json")
|
25
25
|
end
|
26
26
|
|
27
27
|
def artefact_with_snac_code(slug, snac)
|
28
|
-
get_json("#{base_url}/#{
|
28
|
+
get_json("#{base_url}/#{slug}.json?snac=#{CGI.escape(snac)}")
|
29
29
|
end
|
30
30
|
|
31
31
|
def local_authority(snac_code)
|
data/lib/gds_api/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gds-api-adapters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.7.
|
5
|
+
version: 2.7.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- James Stewart
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-09-
|
13
|
+
date: 2012-09-25 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: plek
|
@@ -205,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
205
205
|
requirements:
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
hash: -
|
208
|
+
hash: -333858796237205157
|
209
209
|
segments:
|
210
210
|
- 0
|
211
211
|
version: "0"
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
requirements:
|
215
215
|
- - ">="
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
hash: -
|
217
|
+
hash: -333858796237205157
|
218
218
|
segments:
|
219
219
|
- 0
|
220
220
|
version: "0"
|