gds-api-adapters 0.0.27 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,11 @@ module GdsApi
13
13
  end
14
14
 
15
15
  def panopticon_api
16
- @panopticon_api ||= GdsApi::Panopticon.new(Plek.current.environment)
16
+ @panopticon_api ||= GdsApi::Panopticon.new(Plek.current.environment, panopticon_api_credentials)
17
+ end
18
+
19
+ def panopticon_api_credentials
20
+ Object::const_defined?(:PANOPTICON_API_CREDENTIALS) ? PANOPTICON_API_CREDENTIALS : {}
17
21
  end
18
22
 
19
23
  def fetch_artefact(params)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '0.0.27'
2
+ VERSION = '0.0.28'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.27
5
+ version: 0.0.28
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Stewart
@@ -160,7 +160,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - - ">="
162
162
  - !ruby/object:Gem::Version
163
- hash: -1974159379979390999
163
+ hash: 2937289436236187170
164
164
  segments:
165
165
  - 0
166
166
  version: "0"
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - ">="
171
171
  - !ruby/object:Gem::Version
172
- hash: -1974159379979390999
172
+ hash: 2937289436236187170
173
173
  segments:
174
174
  - 0
175
175
  version: "0"