rail-locator-api 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rail-locator-api/request.rb +2 -2
- data/lib/rail-locator-api/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: a4b106056b806b72a8d99aee9870b884765f6fe6609648dc1f3cc7adbcd36b93
|
4
|
+
data.tar.gz: 4f5a0b0933558ee020fabaeca4f85703100bc426e44b96ff15e2134e5b47dd8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 142897bfde7720d2bcd04f2eaa8670af1e03390bd136cc72d7fea7cf3d927785fddd97e7ce4540342c98e743dca5347623b720177d7fd9332e423fb06acb902b
|
7
|
+
data.tar.gz: e8b7654f3bbc93309f087809f82b3b5ed7b4a6dda477830faec18981d59f3117cf0d672c806be55f03eae3af4bfaf0cdbfa5294bbc7f5adf82585da1463825bb
|
@@ -15,7 +15,7 @@ module RailLocatorApi
|
|
15
15
|
faraday_adapter: nil, symbolize_keys: false, debug: false,
|
16
16
|
debug_options: { headers: true, bodies: false, errors: false, log_level: :info },
|
17
17
|
without_ratelimit: false, is_allow_access_to_coordinates: false,
|
18
|
-
logger: nil, test: false, language:
|
18
|
+
logger: nil, test: false, language: DEFAULT_TIMEOUT)
|
19
19
|
|
20
20
|
@path_parts = []
|
21
21
|
@api_key = api_key || self.class.api_key || ENV['RAIL_LOCATOR_API_KEY']
|
@@ -49,7 +49,7 @@ module RailLocatorApi
|
|
49
49
|
@without_ratelimit = without_ratelimit || self.class.without_ratelimit
|
50
50
|
@is_allow_access_to_coordinates = is_allow_access_to_coordinates || self.class.is_allow_access_to_coordinates
|
51
51
|
@test = test || self.class.test || false
|
52
|
-
@language = language || self.class.language ||
|
52
|
+
@language = language || self.class.language || DEFAULT_LANGUAGE
|
53
53
|
@logger = logger || self.class.logger || ::Logger.new(STDOUT)
|
54
54
|
end
|
55
55
|
|