ocean-rails 3.7.3 → 3.7.4
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 +2 -2
- 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: 488ffb9752c36dd3c3fc31c800133a06800c9742
|
4
|
+
data.tar.gz: ade7530bafe37195a1d69ac75d110c28033fd766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ada19f7671f2f004ecbb82fc9b3cd7f128b59a8c6a26579eb6c0d1d7cabe468ea6ecfc5b8d868efdaebc0193c699379ee032d6fa57515e8b5cc5b0ead4ad47b3
|
7
|
+
data.tar.gz: 21e2bfc0a296101710653979d51596ece14fc42b8399c69ced2e3dc126c0cd1a16057c20b15878da9e0a26dfd31d696eadb7c3a9939f15ccb962621adcc852d4
|
@@ -340,7 +340,7 @@ class Api
|
|
340
340
|
|
341
341
|
def _modify(body)
|
342
342
|
credentials, token = RemoteResource._credentials(self)
|
343
|
-
response = Api.request Api.internalize_uri(uri), :put, headers: {}, body: body,
|
343
|
+
response = Api.request Api.internalize_uri(uri), :put, headers: {}, body: body.to_json,
|
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 Api.internalize_uri(post_uri), :post, headers: {}, body: body,
|
367
|
+
response = Api.request Api.internalize_uri(post_uri), :post, headers: {}, body: body.to_json,
|
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
|
data/lib/ocean/version.rb
CHANGED