ipfs-http-client-rb 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ipfs-http-client-rb/commands/base.rb +1 -1
- data/lib/ipfs-http-client-rb/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: 7b74000cf43f5b2cc58834410d9bc432def9cc16d45892f6cdb9198eabaf7bbb
|
4
|
+
data.tar.gz: a477cda721757701f2c34a52e8198889dae8176b9f9807639a770ec15192b0d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fb606f35834962a88aa7e241d4d55a123ecee839fbc37d4909dfaeff1adc3172c60cf30702b51af81ee0049af6d3ca7dc494be9aba23082f625d703c7cf261d
|
7
|
+
data.tar.gz: df0e9bd198f63b6f0926200dd8e6294237b17d900c6e129ecd6c728b2c7439ae9f47e5f704d53031514be16238572a22b3c315856d2a9f489050954aafce32e7
|
@@ -11,7 +11,7 @@ module Ipfs
|
|
11
11
|
class Base
|
12
12
|
def self.request(client, path_with_query, args = nil)
|
13
13
|
url = "#{client.base_url}#{path_with_query}"
|
14
|
-
response = HTTP.
|
14
|
+
response = HTTP.post(*[url, args].compact)
|
15
15
|
if response.code >= 200 && response.code <= 299
|
16
16
|
response
|
17
17
|
else
|