rail-locator-api 0.1.33 → 0.1.34
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/request.rb +4 -3
- 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: 6ac06de6bd89af9e080a3d79a6e5d6c17943f3868e9c78dfeb7f14fe43208ef2
|
|
4
|
+
data.tar.gz: a06572f9f5e0d4a43c9d3c248adf9b0be20469ca55f883f00f1104f04aef186a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7bd9d99fc1d243f17febc54bf56c73bf6b45f220586d237e4606c6a84d806e457162984b9c1a163d0af1395a6404ab640ae35bfd6813f83e6144152ae6dccbaf
|
|
7
|
+
data.tar.gz: 2ba0d749e92b527a20081f1012f7cb19f34372b242780a6241194f2f1e94c5eb7bfe56bce6b011ffa677656e390c6b350f440f35cb0add7e7f52989415a14f63
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module RailLocatorApi
|
|
2
2
|
class Request
|
|
3
3
|
attr_accessor :access_token, :refresh_token, :api_user_id, :api_key, :api_user_email, :api_user_password, :api_auth_method, :api_endpoint,
|
|
4
|
-
:timeout, :open_timeout, :proxy, :ssl_options, :faraday_adapter, :symbolize_keys, :debug,
|
|
4
|
+
:timeout, :open_timeout, :proxy, :ssl_options, :faraday_adapter, :symbolize_keys, :debug, :debug_options,
|
|
5
5
|
:without_ratelimit, :is_allow_access_to_coordinates, :logger, :test
|
|
6
6
|
|
|
7
7
|
AUTH_METHODS = [:keycloak, :api_key, :base64]
|
|
@@ -123,7 +123,7 @@ module RailLocatorApi
|
|
|
123
123
|
class << self
|
|
124
124
|
attr_accessor :access_token, :refresh_token, :api_user_id, :api_key, :api_user_email, :api_user_password, :api_auth_method,
|
|
125
125
|
:timeout, :open_timeout, :api_endpoint, :proxy, :ssl_options, :faraday_adapter, :symbolize_keys,
|
|
126
|
-
:debug, :without_ratelimit, :is_allow_access_to_coordinates, :logger, :test
|
|
126
|
+
:debug, :debug_options, :without_ratelimit, :is_allow_access_to_coordinates, :logger, :test
|
|
127
127
|
|
|
128
128
|
def method_missing(sym, *args, &block)
|
|
129
129
|
new(access_token: self.access_token, refresh_token: self.refresh_token,
|
|
@@ -132,7 +132,8 @@ module RailLocatorApi
|
|
|
132
132
|
api_user_email: self.api_user_email, api_user_password: self.api_user_email,
|
|
133
133
|
api_auth_method: self.api_auth_method, api_endpoint: self.api_endpoint,
|
|
134
134
|
timeout: self.timeout, open_timeout: self.open_timeout, faraday_adapter: self.faraday_adapter,
|
|
135
|
-
symbolize_keys: self.symbolize_keys, debug: self.debug,
|
|
135
|
+
symbolize_keys: self.symbolize_keys, debug: self.debug, debug_options: self.debug_options,
|
|
136
|
+
without_ratelimit: self.without_ratelimit,
|
|
136
137
|
is_allow_access_to_coordinates: self.is_allow_access_to_coordinates,
|
|
137
138
|
proxy: self.proxy, ssl_options: self.ssl_options, logger: self.logger,
|
|
138
139
|
test: self.test).send(sym, *args, &block)
|