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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a15a74f4c7ce56d4fa40875d3cd617f169e6a1e
4
- data.tar.gz: 5793f7e1c31c123e2a5b1768655b43392f703971
3
+ metadata.gz: f5dd7c03a05b53147faf0ba851c5002a4b5885ec
4
+ data.tar.gz: 2920b78be199d9bdb9e4b29eaa2ff8a4569441d5
5
5
  SHA512:
6
- metadata.gz: 659184751d956172bfdcc0e510966c62b9bf8b1dd725c58bdaac95e0a247d31c022c288645456b967ca4599d4a990c66b5066fee211997a865f52085bee82648
7
- data.tar.gz: 33f659126afe71bfd375ca0dd9e8f80df44975c8b731329e10e5d5857d6736822ac0496355744128c08e3a0b23fcbd6e5ae819f9be4f2e6e56b1b89aa979935c
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
@@ -1,3 +1,3 @@
1
1
  module Rongcloud
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
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-08-29 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday