uc3-dmp-api-core 0.0.14 → 0.0.15
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/uc3-dmp-api-core/ssm_reader.rb +4 -0
- data/lib/uc3-dmp-api-core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5ff5d68f3873889225e177225972f52a994db8103ef51eaae046b1854f6ab1f
|
4
|
+
data.tar.gz: fa16fb71a1a49268b77cc024a71eb0a9f86144f455efdc3abb4379aa4162f852
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c80ecb87634eb4ac39f4e23a03f24366741ecea673c0d3f7f106b869c849c2d7508c9fcea8ff8c50ef60b919abd856b59b5a03f2ab023afcb0072c6df7b87483
|
7
|
+
data.tar.gz: 722147f1d59637fb879604284b71d52403326c02ea420817c73902f81d1e8fec107244216f00f46b613629e54ca55e25b5b190792c7de64784909d26e10a9265
|
@@ -46,6 +46,10 @@ module Uc3DmpApiCore
|
|
46
46
|
# Checks to see if debug mode has been enabled in SSM
|
47
47
|
# ----------------------------------------------------
|
48
48
|
def debug_mode?
|
49
|
+
|
50
|
+
puts "Checking to see if we are in debug mode."
|
51
|
+
puts "Key: #{_ssm_keys[:debug_mode]}, Val: #{get_ssm_value(key: _ssm_keys[:debug_mode])}, Downcased: #{get_ssm_value(key: _ssm_keys[:debug_mode])&.to_s&.downcase&.strip} "
|
52
|
+
|
49
53
|
get_ssm_value(key: _ssm_keys[:debug_mode])&.to_s&.downcase&.strip == 'true'
|
50
54
|
end
|
51
55
|
|