rail-locator-api 1.0.18 → 1.0.19
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/api_request.rb +6 -0
- 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: 0a40601fc87134ba69f0409934667e771432a08c62928b0ba2097d8a8bb8407b
|
4
|
+
data.tar.gz: afac1cbc06cc1f251759ea16b2a98081d523bc6f9f3c96a5b999acd02b264205
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247cad136e02ebbf243315cd1b7ba0ba23a9b56aac25539ba5bccd9d17002c3b57aad72ad66f5464f5baf3c490102419d1251595d1291f624dd08a343e6c2c6c
|
7
|
+
data.tar.gz: a462fba2edf6a68175fd670e08302c89d995ba6d61991366cf024db1a0ed02ca7c9a2c3e053e902b967b1aa02e1e164a7a5eee8771307783f9c6f757cab638f5
|
@@ -278,6 +278,8 @@ module RailLocatorApi
|
|
278
278
|
url = case @request_builder.path_parts.first
|
279
279
|
when "lk"
|
280
280
|
lk_api_url
|
281
|
+
when "notify"
|
282
|
+
notify_api_url
|
281
283
|
when "app"
|
282
284
|
app_api_url
|
283
285
|
when "union"
|
@@ -304,5 +306,9 @@ module RailLocatorApi
|
|
304
306
|
def union_api_url
|
305
307
|
"#{RailLocatorApi.union_endpoint}/api/v1.0/"
|
306
308
|
end
|
309
|
+
|
310
|
+
def notify_api_url
|
311
|
+
"http://192.168.1.153:3003"
|
312
|
+
end
|
307
313
|
end
|
308
314
|
end
|