realogy 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/realogy/app/models/data_sync.rb +2 -0
- data/lib/realogy/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: 679a0fa71df27228dd89afcc6f0c209c9dbb8eeffe4bcedcf6cc6304083f209b
|
4
|
+
data.tar.gz: 1d904f39b5acb5ed5a7498d8e3d9456dbccf9c2a470942ed0f6e5970fb94ce4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5506401e89993ccf2228fbaa424bbe2db7412505e9b4426c9edf7ce176d5dd66306a76d325aadd0cd0363ac0e6cb2985c863c841b1bc3fd3bb625b8cc178dd1
|
7
|
+
data.tar.gz: 65214da3db7cd0f672ae0f27208574713eeccf181b811db77b0198b7053db7eef66362b382ad87adbc77f230696c6d84003db302c1cac2ec94ef02433922ba59
|
@@ -90,6 +90,7 @@ module Realogy
|
|
90
90
|
request['Ocp-Apim-Subscription-Key'] = ENV["REALOGY_SUBSCRIPTION_KEY"]
|
91
91
|
request['Authorization'] = "Bearer #{auth_token}"
|
92
92
|
response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
|
93
|
+
http.max_retries = 10
|
93
94
|
http.request(request)
|
94
95
|
end
|
95
96
|
return JSON(response.body)
|
@@ -103,6 +104,7 @@ module Realogy
|
|
103
104
|
request['Ocp-Apim-Subscription-Key'] = ENV["REALOGY_SUBSCRIPTION_KEY"]
|
104
105
|
request['Authorization'] = "Bearer #{auth_token}"
|
105
106
|
response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
|
107
|
+
http.max_retries = 10
|
106
108
|
http.request(request)
|
107
109
|
end
|
108
110
|
return JSON(response.body) rescue nil
|
data/lib/realogy/version.rb
CHANGED