rail-locator-api 1.0.4 → 1.0.6
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 +7 -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: 1be36551c45a5cc10d83d34c949e083a6ea101b416c363de07f78daa9a7d5838
|
4
|
+
data.tar.gz: 9ad36eeba22cb270c933c7d7a269bc165192148246315ecb0011131ae33e862b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c335a246ef7aca42a553c1350078e75eedda19aeefcd833dbf916464cf5cf4c839c97ecbff546b9bfee0b6d8b4cdf94b290f1954aed4519f8987d36178d91771
|
7
|
+
data.tar.gz: c297ad0a02abbc187b6a3da6e6d2a46cd24fca76a0c6274258585d03b67e931742e3dc474cde9d2cf19bca58365577afb53316a0d344e874027ffe21ed845b58
|
@@ -227,6 +227,8 @@ module RailLocatorApi
|
|
227
227
|
lk_api_url
|
228
228
|
when "app"
|
229
229
|
app_api_url
|
230
|
+
when "union"
|
231
|
+
union_api_url
|
230
232
|
else
|
231
233
|
base_api_url
|
232
234
|
end + @request_builder.path
|
@@ -243,5 +245,10 @@ module RailLocatorApi
|
|
243
245
|
def app_api_url
|
244
246
|
"https://rail-locator.com/"
|
245
247
|
end
|
248
|
+
|
249
|
+
def union_api_url
|
250
|
+
"http://192.168.88.174:8000/api/v1.0/"
|
251
|
+
RailLocatorApi::Request.union.claims.create
|
252
|
+
end
|
246
253
|
end
|
247
254
|
end
|