blackbook_client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/blackbook_client/version.rb +1 -1
- data/lib/vin_service.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: 6c0c860768df866de17e3eb34bb202ffa229bfe20b710391c10ba90dc27fba3a
|
4
|
+
data.tar.gz: 1ca5692ab7c10b7d024514a6b49d6fbd974301a8bb3244299b4fd3817acb629d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ede69e97df01d50f84b35cf5f90ab48c125403f418fed7150eab9c246ea654eb04624c68964fe0c843839c14736c9a425ffa0fe8d8818d7af0c191ccac043202
|
7
|
+
data.tar.gz: 8c6f388226e6a337bb1267fe2c742fa2c5c6f2231fc1f9cd3e13362b77ae250c4d5054631e96b9ed6157472c7278dab9ce9717c660febf55993bc138f19ea5a1
|
data/Gemfile.lock
CHANGED
data/lib/vin_service.rb
CHANGED
@@ -7,7 +7,7 @@ module VinService
|
|
7
7
|
url = "#{VEHICLE_BY_VIN_URL}/#{vin}"
|
8
8
|
|
9
9
|
begin
|
10
|
-
response = HTTParty.get(url, headers: headers, query: query_params
|
10
|
+
response = HTTParty.get(url, headers: headers, query: query_params)
|
11
11
|
process_response(JSON.parse(response))
|
12
12
|
rescue => e
|
13
13
|
[{ error: e.to_s }, 500]
|