CQHTTP 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/CQHTTP/api.rb +1 -1
- data/lib/CQHTTP/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: 700ffb06a600566129b850c0cbd46727911f860d
|
4
|
+
data.tar.gz: 44d259ba825fdc1c62e00cffa02cbd9e623a45af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 604e3753841b698d0d979823004d74acfca23e2ae8089bed8c29cff908e56c61c6036ac953648e983a09ce025063dd29b5c532e46a69f79122cc4a485608ff88
|
7
|
+
data.tar.gz: 6c946f4ea817b8eb89ba2fb78c5998d487c5abc97f5d673f710efa512eabc11ccdf004fe86926f59430f985cb06d36969b0d8cc4857b62f8663fc572947d4702
|
data/lib/CQHTTP/api.rb
CHANGED
@@ -7,7 +7,7 @@ module CQHTTP
|
|
7
7
|
#
|
8
8
|
# host: String: API address, like 'http://localhost:5700'
|
9
9
|
# type: Symbol or String, 'get', 'form' or 'json;
|
10
|
-
def initialize(host
|
10
|
+
def initialize(host: 'http://localhost:5700', way: :form)
|
11
11
|
@func_list = {}
|
12
12
|
gen
|
13
13
|
@func_list.freeze
|
data/lib/CQHTTP/version.rb
CHANGED