consumer_score_naj 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consumer_score_naj/version.rb +1 -1
- data/lib/consumer_score_naj.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49b89fb053c401b43a071b0b5763cac65e56e3e7
|
4
|
+
data.tar.gz: c1287bf3bc86ea68dd1c3e525b1024b9b920dd2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b462d9458804679bbabebe3b2d6b0e52274c7643cc818e0799053190eabfabe71cdb5e0d10be2d884cf9fba9349c6f5b042c7e5db052bb123af9c2bd34d5be9c
|
7
|
+
data.tar.gz: bc8acc2b8eab58c76332e3ae71fcec4914106484892b30eb86b3afec73bf4235741de0c4eb36adabb2352d6e6a8e81427a64ef07d18d03ee385e8179781332ff
|
data/lib/consumer_score_naj.rb
CHANGED
@@ -14,7 +14,7 @@ module Consumer
|
|
14
14
|
|
15
15
|
def self.get_score(query_hash)
|
16
16
|
search_string = convert_query_hash_to_string(query_hash)
|
17
|
-
response = Unirest.get("
|
17
|
+
response = Unirest.get("https://consumer-api-staging.herokuapp.com/customer_scoring.json?#{search_string}").body
|
18
18
|
end
|
19
19
|
|
20
20
|
def self.convert_query_hash_to_string(query_hash)
|