rongcloud 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rongcloud/service/message.rb +11 -0
- data/lib/rongcloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5dd7c03a05b53147faf0ba851c5002a4b5885ec
|
4
|
+
data.tar.gz: 2920b78be199d9bdb9e4b29eaa2ff8a4569441d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b819c7c0ae2b3f7305807581dc61d2e81cc4d4ecbf7907c936882c25b858afe39eebb0e1205d9216a5cd7e8959ab7d7422867023f82108a28d3e5b9000580611
|
7
|
+
data.tar.gz: 98fe0cf3a193032456bad1bd9a55f64d2d9bbba40737d56ccb230607f21ba529183b08278440e4dc747ecafc482f33dff5a05e821ce0a3d6ff0fce8cd6af59c7
|
@@ -86,6 +86,17 @@ module Rongcloud
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
#自定义模板消息
|
90
|
+
class CUTemplateTextMsg < Rongcloud::Service::RCMsg
|
91
|
+
attr_accessor :title
|
92
|
+
attr_accessor :items
|
93
|
+
attr_accessor :url
|
94
|
+
|
95
|
+
def necessary_attrs
|
96
|
+
{title: self.title, content: self.content, items: self.items, url: self.url}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
89
100
|
class RCLBSMsg< Rongcloud::Service::RCMsg
|
90
101
|
attr_accessor :latitude
|
91
102
|
attr_accessor :longitude
|
data/lib/rongcloud/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rongcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mumaoxi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|