json_requester 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_requester.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: addeed1bc3a006b61e8a3c04cb3f7833fcd6923431e56d8b111cccb17dd0b861
|
4
|
+
data.tar.gz: b7d4e1a9aa9862044388e9cbc38e1709e5fc8a595b6e7db95807dfca089b6170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d90277243e6c1e3637f72e0d4bc8eb287eb6214a22d5b81e8523366086b65d0241151f2365e654eb4f115fd7b50bc7acb1b1467a1b52e4e9c6e1a9cf27bf182d
|
7
|
+
data.tar.gz: f3d5c30712b8b739a0a8e6d253f030a017e40ec9f3fb4b8dbd17c773289e69383092ae05e7f6c2cffb5a6c22bf0c3387b9f8fa4b68cc79ea56a6c1940e08796e
|
data/lib/json_requester.rb
CHANGED
@@ -10,6 +10,7 @@ class JsonRequester
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def http_send(http_method, path, params={}, headers={})
|
13
|
+
puts "send #{http_method} reqeust to #{@host} with\npath: #{path}\nparams: #{params}\nheaders: #{headers}"
|
13
14
|
if http_method == :get
|
14
15
|
normal_send(http_method, path, params, headers)
|
15
16
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_requester
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JiaRou Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|