wework 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/wework/engine.rb +3 -3
- data/lib/wework/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: ee1947757974866068378a7c28b770b6861f5df3
|
4
|
+
data.tar.gz: ac52f1b1a26cd2442213ffd71b7519102e4caf2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e18ccb00cbbb75f5257943653506898721757e3dd208da9f46a21b9b47abf9c73203e4695144db0012fadb577b587cb63ad9bd84764384ddae6d1d4ba5859db9
|
7
|
+
data.tar.gz: 2e5511d3319546404d18a1c8f1a11d14cd093e97cdfa17917de110bfe7d7bd2fa6be5c41b2ae571f12d993528d46bf3ac8ec794d9fd8a5eec0c24e498f044e87
|
data/lib/wework/engine.rb
CHANGED
@@ -10,8 +10,8 @@ module Wework
|
|
10
10
|
@app_secret = options[:app_secret]
|
11
11
|
end
|
12
12
|
|
13
|
-
def
|
14
|
-
@
|
13
|
+
def contact
|
14
|
+
@contact ||= Wework::Api::Contact.new(corp_id, corp_secret) if contact?
|
15
15
|
end
|
16
16
|
|
17
17
|
def agent
|
@@ -24,7 +24,7 @@ module Wework
|
|
24
24
|
corp_id.present? && app_id.present? && app_secret.present?
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
27
|
+
def contact?
|
28
28
|
corp_id.present? && corp_secret.present?
|
29
29
|
end
|
30
30
|
end
|
data/lib/wework/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wework
|
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
|
- seandong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|