dingbot 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dingbot/message/action_card.rb +2 -2
- data/lib/dingbot/message/text.rb +2 -2
- data/lib/dingbot/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: 891eb19b1f3dbc85d7cd60765985dd7c8e9b6f00
|
4
|
+
data.tar.gz: 86616b1c794ec9933694c0d651b3dd222a518686
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a78af359e4c94dd0b5ca679af2fe92c6f98ffc061efa7498083923514c35bc45215b757309b5a290c45589d5ed0c3373525428d11e8e799a24f594b0bd1535b3
|
7
|
+
data.tar.gz: c75e226f9218042e415b77938bc0cae19a15dbd8ce316fc363215b5a4e82023bb0e67ffa51f9703e7d2e712631e3f03f8d568a5b80a45f80649c60c0d15f64ee
|
data/lib/dingbot/message/text.rb
CHANGED
@@ -17,7 +17,7 @@ module DingBot
|
|
17
17
|
# }
|
18
18
|
class Text < Base
|
19
19
|
attr_accessor :content, :at_mobiles, :is_at_all
|
20
|
-
|
20
|
+
|
21
21
|
def initialize(content='', at_mobiles=[], is_at_all=false)
|
22
22
|
@content = content
|
23
23
|
@at_mobiles = at_mobiles
|
@@ -32,7 +32,7 @@ module DingBot
|
|
32
32
|
super.merge(
|
33
33
|
{
|
34
34
|
text: {
|
35
|
-
|
35
|
+
content: @content
|
36
36
|
},
|
37
37
|
at: {
|
38
38
|
atMobiles: @at_mobiles,
|
data/lib/dingbot/version.rb
CHANGED