xi_wechat_corp 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/xi_wechat_corp_send_text +1 -1
- data/lib/xi_wechat_corp/api/cli.rb +1 -1
- data/lib/xi_wechat_corp/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: 8b38bea829adac092f376c9da96b60ff69f43cea
|
4
|
+
data.tar.gz: 758e07a392ec12b92da069a4099747341c290bfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3ff8e78105fea038c561d08b36b64cea6a216379f8c053613c6ebfae27c9234a71c542ae0a11cbd72fd666e196db56e4b4772975afb94c8a88f7dd191630524
|
7
|
+
data.tar.gz: 47a9f44b6db7e4afbfa188dad817a9458de083fed563b6e4cc38aa5ab024115c5380d96e1746b187f0938ad2748ed3d87055d5e574e3884f86f9cf2e8d157c09
|
@@ -30,7 +30,7 @@ module XiWechatCorp
|
|
30
30
|
def run(args)
|
31
31
|
options = verify(parse(args))
|
32
32
|
conn = establish_connection(options)
|
33
|
-
puts
|
33
|
+
puts conn.send(options[:method], options[:path], options[:params]).body
|
34
34
|
rescue MultiJson::ParseError => e
|
35
35
|
$stderr.puts 'BAD JSON: ' + e.message
|
36
36
|
exit 1
|