ocean-rails 3.7.1 → 3.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/api_remote_resource.rb +4 -4
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ee2e4f23d522e6cc485c827979be527bde0cf0d
|
4
|
+
data.tar.gz: dac5ee572b1d4ecd6b37a963141c810f29ba39e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b06fe7bbe0e80a77388cf17e38efc43e0d0bc2ba321ff049eb7d06d0c87b80ea69e2251979ffdb3cdc3688c6d5dc60fa63cb972d76ceb83fdaa969348ecb95e
|
7
|
+
data.tar.gz: 19214dcaf3f29dea4b8a6b411ea35879f19c477976041dc318be088c9eb00d1bac84ece4b628b15fb088056a119cdae7d46b74d1a20b85b1b84db53b5173cefc
|
@@ -294,7 +294,7 @@ class Api
|
|
294
294
|
|
295
295
|
def self._retrieve(rr)
|
296
296
|
credentials, token = _credentials(rr)
|
297
|
-
response = Api.request rr.uri, :get, headers: {}, credentials: credentials, x_api_token: token,
|
297
|
+
response = Api.request Api.internalize_uri(rr.uri), :get, headers: {}, credentials: credentials, x_api_token: token,
|
298
298
|
retries: rr.retries, backoff_time: rr.backoff_time, backoff_rate: rr.backoff_rate,
|
299
299
|
backoff_max: rr.backoff_max
|
300
300
|
rr.send :response=, response
|
@@ -340,7 +340,7 @@ class Api
|
|
340
340
|
|
341
341
|
def _modify(body)
|
342
342
|
credentials, token = RemoteResource._credentials(self)
|
343
|
-
response = Api.request uri, :put, headers: {}, body: body,
|
343
|
+
response = Api.request Api.internalize_uri(uri), :put, headers: {}, body: body,
|
344
344
|
credentials: credentials, x_api_token: token,
|
345
345
|
retries: retries, backoff_time: backoff_time, backoff_rate: backoff_rate,
|
346
346
|
backoff_max: backoff_max
|
@@ -364,7 +364,7 @@ class Api
|
|
364
364
|
|
365
365
|
def _create(post_uri, body)
|
366
366
|
credentials, token = RemoteResource._credentials(self)
|
367
|
-
response = Api.request post_uri, :post, headers: {}, body: body,
|
367
|
+
response = Api.request Api.internalize_uri(post_uri), :post, headers: {}, body: body,
|
368
368
|
credentials: credentials, x_api_token: token,
|
369
369
|
retries: retries, backoff_time: backoff_time, backoff_rate: backoff_rate,
|
370
370
|
backoff_max: backoff_max
|
@@ -383,7 +383,7 @@ class Api
|
|
383
383
|
|
384
384
|
def _destroy(delete_uri)
|
385
385
|
credentials, token = RemoteResource._credentials(self)
|
386
|
-
response = Api.request delete_uri, :delete, headers: {},
|
386
|
+
response = Api.request Api.internalize_uri(delete_uri), :delete, headers: {},
|
387
387
|
credentials: credentials, x_api_token: token,
|
388
388
|
retries: retries, backoff_time: backoff_time, backoff_rate: backoff_rate,
|
389
389
|
backoff_max: backoff_max
|
data/lib/ocean/version.rb
CHANGED