glimr-api-client 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/glimr_api_client/api.rb +1 -1
- data/lib/glimr_api_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f0fab32d65bceb85478c42d25d708be7a828877
|
4
|
+
data.tar.gz: 500efa86ddf1c3c125339577e38a9b2e6b8e228c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff8a5075972da215af4d15837cea074989ec3054338b61a9017c5022acacc7c99ba5b5645a07376f9198139a0f75dd38e837a722717c1b391f49f54e95b6171d
|
7
|
+
data.tar.gz: 981204f7a2da494acff182198933c6e84a0dcdbd262e4d05d38be5413caabd39f5fc1057cdfe6d3b38af7302abcfc81a4a83d612d49b2562d17665b31d875287
|
data/lib/glimr_api_client/api.rb
CHANGED
@@ -9,7 +9,7 @@ module GlimrApiClient
|
|
9
9
|
# DO NOT SET THIS ENV VAR IN PRODUCTION - we should not be logging
|
10
10
|
# this sensitive user data from the live service.
|
11
11
|
def post
|
12
|
-
puts "GLIMR POST: #{request_body.to_json}" if ENV.key?('GLIMR_API_DEBUG')
|
12
|
+
puts "GLIMR POST: #{endpoint} - #{request_body.to_json}" if ENV.key?('GLIMR_API_DEBUG')
|
13
13
|
client("#{api_url}#{endpoint}").post(body: request_body.to_json).tap { |resp|
|
14
14
|
handle_response_errors(resp) if (400..599).cover?(resp.status)
|
15
15
|
puts "GLIMR RESPONSE: #{resp.body}" if ENV.key?('GLIMR_API_DEBUG')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimr-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Tyree
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|