kf5_api 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kf5_api/kchat.rb +2 -2
- data/lib/kf5_api/organization.rb +1 -1
- data/lib/kf5_api/user.rb +1 -1
- data/lib/kf5_api/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: 95dea2e6c3cc040bb5763f782a1ff9c86364e10a
|
4
|
+
data.tar.gz: caac9071b57094469954a0e31550cefede965f33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182a0b376f16072b292603ec418c0e9cd2a0504b1e44938af66dbe3c81272ae3a2c46a3a5347d916c1baadc37f3b9270ecd0184bd1919c2a918675f3b63c44b2
|
7
|
+
data.tar.gz: f2c4734e53536e059fb50a49673a1120444ae325ba35adfc5e1a8fac355db20ad7f02517e2ce32cb8274545115228968c6bd9cf6f074bf5068ec137b36aa130a
|
data/lib/kf5_api/kchat.rb
CHANGED
@@ -12,12 +12,12 @@ module Kf5Api
|
|
12
12
|
class << self
|
13
13
|
# 对话列表
|
14
14
|
def history(query_params = {})
|
15
|
-
get(ACTIONS_HASH[:history], query_params).parsed_response
|
15
|
+
get(ACTIONS_HASH[:history], query_params).parsed_response
|
16
16
|
end
|
17
17
|
|
18
18
|
# 查看对话
|
19
19
|
def chat(chat_id)
|
20
|
-
get(format(ACTIONS_HASH[:chat], id: chat_id)).parsed_response
|
20
|
+
get(format(ACTIONS_HASH[:chat], id: chat_id)).parsed_response
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
data/lib/kf5_api/organization.rb
CHANGED
data/lib/kf5_api/user.rb
CHANGED
@@ -12,7 +12,7 @@ module Kf5Api
|
|
12
12
|
# 获取某个组织下的所有用户
|
13
13
|
def users_by_organization(org_id, query_params = {})
|
14
14
|
action = format(ACTIONS_HASH[:users_by_org], id: org_id)
|
15
|
-
get(action, query_params).parsed_response
|
15
|
+
get(action, query_params).parsed_response
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
data/lib/kf5_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kf5_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wangrui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|