yol_qy_weixin 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Gemfile.lock +3 -3
- data/lib/yol_qy_weixin/client.rb +1 -0
- data/lib/yol_qy_weixin/connections/message.rb +15 -0
- data/lib/yol_qy_weixin/version.rb +1 -1
- metadata +3 -5
- data/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/yol_qy_weixin/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c3296070570a8d242429f4760872498d01b4155403847934e10e406bf91bf17
|
4
|
+
data.tar.gz: d251b119311c4561e461b64048d224be817a20a51c9539bca0653be959853d3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4401f01855e21bb4663085604a075b80d5e38be6844c1d3fe0cfee8f190a00858ce1d07de239bfd32566178cd3bb8d68eb6c088eeab74247185b4a54fa44e4b0
|
7
|
+
data.tar.gz: 5d5e0e83e5ba92d7c0375dc7327c77b7b0f6aec0914e69955a4434efa2232df1ee05cb80d689e95a2ad31fd7da0b47fe7ffbc80cb631ad70d3ccbe994bb4aa20
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
yol_qy_weixin (0.0.
|
4
|
+
yol_qy_weixin (0.0.8)
|
5
5
|
multi_xml
|
6
6
|
nokogiri
|
7
7
|
roxml
|
@@ -16,11 +16,11 @@ GEM
|
|
16
16
|
tzinfo (~> 1.1)
|
17
17
|
zeitwerk (~> 2.2, >= 2.2.2)
|
18
18
|
concurrent-ruby (1.1.8)
|
19
|
-
i18n (1.8.
|
19
|
+
i18n (1.8.10)
|
20
20
|
concurrent-ruby (~> 1.0)
|
21
21
|
minitest (5.14.4)
|
22
22
|
multi_xml (0.6.0)
|
23
|
-
nokogiri (1.11.
|
23
|
+
nokogiri (1.11.3-x86_64-darwin)
|
24
24
|
racc (~> 1.4)
|
25
25
|
racc (1.5.2)
|
26
26
|
rake (13.0.1)
|
data/lib/yol_qy_weixin/client.rb
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
module YolQyWeixin
|
2
|
+
module Connection
|
3
|
+
module Message
|
4
|
+
def send_message(body)
|
5
|
+
http_post(send_url, body)
|
6
|
+
end
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
def send_url
|
11
|
+
"https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=#{get_access_token}&debug=1"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yol_qy_weixin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- luojie2019
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,20 +87,18 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- ".DS_Store"
|
91
90
|
- ".gitignore"
|
92
91
|
- Gemfile
|
93
92
|
- Gemfile.lock
|
94
93
|
- LICENSE.txt
|
95
94
|
- README.md
|
96
95
|
- Rakefile
|
97
|
-
- lib/.DS_Store
|
98
96
|
- lib/yol_qy_weixin.rb
|
99
|
-
- lib/yol_qy_weixin/.DS_Store
|
100
97
|
- lib/yol_qy_weixin/client.rb
|
101
98
|
- lib/yol_qy_weixin/connection.rb
|
102
99
|
- lib/yol_qy_weixin/connections/base.rb
|
103
100
|
- lib/yol_qy_weixin/connections/department.rb
|
101
|
+
- lib/yol_qy_weixin/connections/message.rb
|
104
102
|
- lib/yol_qy_weixin/connections/qrcode.rb
|
105
103
|
- lib/yol_qy_weixin/connections/template.rb
|
106
104
|
- lib/yol_qy_weixin/connections/user.rb
|
data/.DS_Store
DELETED
Binary file
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/yol_qy_weixin/.DS_Store
DELETED
Binary file
|