rail-locator-api 0.0.32 → 0.0.33
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 +0 -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: 5ede41528479ea31925099520174f0ed0a80a2606b8765f8b807accb044fd962
|
4
|
+
data.tar.gz: ebc0acc5dbee2508dff3a999e0c8207c7597d2d32dd40a59ed6ff799504b1e69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c81a85c81904a43f9c65a89939c961ab0c89aa3b63e577be00bddcdcff611421b84d4f2cd547503f543eca3df65fd5dcc1e1942be0731d0dd210a069f00bc2ba
|
7
|
+
data.tar.gz: 14759e3c5a4eb9a77582156b111ec7979751c564ff375f176ce6aaea8ad09657ead00a520215966bcb468feaeb38bd8f3abc550d8c74a73ee8987490174508f9
|
@@ -17,7 +17,6 @@ module RailLocatorApi
|
|
17
17
|
@path_parts = []
|
18
18
|
@api_key = api_key || self.class.api_key || ENV['RAIL_LOCATOR_API_KEY']
|
19
19
|
@api_key = @api_key.strip if @api_key
|
20
|
-
@api_key = RailLocatorApi::api_key if @api_key.nil?
|
21
20
|
|
22
21
|
@access_token = access_token || self.class.access_token || RailLocatorApi.generate_access_token.try(:dig, "access_token")
|
23
22
|
@access_token = @access_token.strip if @access_token
|