rail-locator-api 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rail-locator-api/api_request.rb +1 -1
- data/lib/rail-locator-api/request.rb +1 -1
- 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: 4f6a408a63b18baacd0dfe6e78ff5e59ec50751cdb43306b0d164c83d9d8b709
|
|
4
|
+
data.tar.gz: c1d9412d8ae148de6281f4b22a4fc9a8a8519c9c12d21f29f6df4c9c48628b49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d436af701fd497d2570ef16ace73d2c06d8386b6fd310dfb970dd6995955822a0a32680d63ddf6ce984d0252f0113f9ae240722cfe79aa88dec9b54cf7036e99
|
|
7
|
+
data.tar.gz: 7638d8aa2b00433bde0d20da180c3df721064c6ce5e772efa971c093c483e5160149e3f034ffa9d846d567de833004dca89a5089437d8aed5192e0cbe226fd50
|
|
@@ -228,6 +228,7 @@ module RailLocatorApi
|
|
|
228
228
|
when "app"
|
|
229
229
|
app_api_url
|
|
230
230
|
when "union"
|
|
231
|
+
@request_builder.shift
|
|
231
232
|
union_api_url
|
|
232
233
|
else
|
|
233
234
|
base_api_url
|
|
@@ -248,7 +249,6 @@ module RailLocatorApi
|
|
|
248
249
|
|
|
249
250
|
def union_api_url
|
|
250
251
|
"http://192.168.88.174:8000/api/v1.0/"
|
|
251
|
-
RailLocatorApi::Request.union.claims.create
|
|
252
252
|
end
|
|
253
253
|
end
|
|
254
254
|
end
|
|
@@ -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_LANGUAGE)
|
|
19
19
|
|
|
20
20
|
@path_parts = []
|
|
21
21
|
@api_key = api_key || self.class.api_key || ENV['RAIL_LOCATOR_API_KEY']
|