rail-locator-api 0.1.31 → 0.1.32
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 010b8eebc008a19fb48adfe1ec30c3319b0617ae0d16a0dfa97e9c39260d0869
|
4
|
+
data.tar.gz: 47f584ea0d3f67d553d82975bd0f84b4768ae78cc2ed45629a7a6964407463ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68770511d3498591f8c630f5149da2cf97f27b97e2ab32bbd80e0c2f06e9fe26b31e96368b7c57efd7d3dbdb6dd7d1d59820aab29a9054aa0f7923374ad48c10
|
7
|
+
data.tar.gz: 5b7ef346980f0ebc01b7df58cc62c00c590744828595683f8f2ead25a69c321413f4a7a5fbbac3811468cb58e33af2a486b93cce5df397540ab42b519a00ff1c
|
@@ -8,7 +8,7 @@ RailLocatorApi.setup do |config|
|
|
8
8
|
config::register k.underscore.to_sym, v
|
9
9
|
end
|
10
10
|
|
11
|
-
config::Request.api_key ||= ENV['API_KEY']
|
11
|
+
#config::Request.api_key ||= ENV['API_KEY']
|
12
12
|
|
13
13
|
config::Request.api_user_email ||= ENV['API_USER_EMAIL']
|
14
14
|
config::Request.api_user_password ||= ENV['API_USER_PASSWORD']
|
@@ -34,7 +34,7 @@ module RailLocatorApi
|
|
34
34
|
@api_user_password = api_user_password || ENV['API_USER_PASSWORD'] || ""
|
35
35
|
@api_endpoint = api_endpoint || self.class.api_endpoint
|
36
36
|
@api_endpoint = RailLocatorApi::api_endpoint if @api_endpoint.nil?
|
37
|
-
@api_auth_method = api_auth_method || DEFAULT_AUTH_METHOD
|
37
|
+
@api_auth_method = api_auth_method || RailLocatorApi::api_auth_method || DEFAULT_AUTH_METHOD
|
38
38
|
@timeout = timeout || self.class.timeout || DEFAULT_TIMEOUT
|
39
39
|
@open_timeout = open_timeout || self.class.open_timeout || DEFAULT_OPEN_TIMEOUT
|
40
40
|
@proxy = proxy || self.class.proxy || ENV['RAIL_LOCATOR_API_PROXY']
|