rail-locator-api 0.1.33 → 1.0.0
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 +1 -1
- 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: ac2e0e239acbba6ce30a3dd36162bd219345078863b3cb930b03a1b43ccce9a8
|
4
|
+
data.tar.gz: a34c66ebf1a4ecc622c819c8afdc162218d4c9b8944fbadc3e70790d17e28090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b9b022f9990122c8d689f9c7c7145627ffabf708bb29e28b17c865bbab663f403332c774a1b6af3cdb18d46e767f7a96478dd378bfbaa7ea63c23876cdf51db
|
7
|
+
data.tar.gz: d55c58ff32c47f72e8f4e051033bc0fade804e1c63244180ae876bf0e0bc81da9632d5b36efd28335ce92e027e796884a100c049f41566e23b271bfa58c98bdd
|
@@ -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)
|