gds-api-adapters 5.1.0 → 5.2.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.
- data/lib/gds_api/helpers.rb +5 -0
- data/lib/gds_api/version.rb +1 -1
- metadata +3 -3
data/lib/gds_api/helpers.rb
CHANGED
|
@@ -3,9 +3,14 @@ require 'gds_api/imminence'
|
|
|
3
3
|
require 'gds_api/panopticon'
|
|
4
4
|
require 'gds_api/content_api'
|
|
5
5
|
require 'gds_api/licence_application'
|
|
6
|
+
require 'gds_api/asset_manager'
|
|
6
7
|
|
|
7
8
|
module GdsApi
|
|
8
9
|
module Helpers
|
|
10
|
+
def asset_manager_api
|
|
11
|
+
@asset_manager_api ||= GdsApi::AssetManager.new(Plek.current.find('asset-manager'))
|
|
12
|
+
end
|
|
13
|
+
|
|
9
14
|
def content_api
|
|
10
15
|
@content_api ||= GdsApi::ContentApi.new(Plek.current.find("contentapi"))
|
|
11
16
|
end
|
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: 5.
|
|
5
|
+
version: 5.2.0
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- James Stewart
|
|
@@ -245,7 +245,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
245
245
|
requirements:
|
|
246
246
|
- - ">="
|
|
247
247
|
- !ruby/object:Gem::Version
|
|
248
|
-
hash:
|
|
248
|
+
hash: -3680831020447425897
|
|
249
249
|
segments:
|
|
250
250
|
- 0
|
|
251
251
|
version: "0"
|
|
@@ -254,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
254
254
|
requirements:
|
|
255
255
|
- - ">="
|
|
256
256
|
- !ruby/object:Gem::Version
|
|
257
|
-
hash:
|
|
257
|
+
hash: -3680831020447425897
|
|
258
258
|
segments:
|
|
259
259
|
- 0
|
|
260
260
|
version: "0"
|