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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 714896d468c99ed325dfa1b8e94afd4ad6de85a8
4
- data.tar.gz: ca5b3a044abd35673167c57033e8efbc554b8cb5
3
+ metadata.gz: ee1947757974866068378a7c28b770b6861f5df3
4
+ data.tar.gz: ac52f1b1a26cd2442213ffd71b7519102e4caf2c
5
5
  SHA512:
6
- metadata.gz: efe9dabd28e852f5082311c9116cfef327d36f007a2c3bd17c47f03b5df57e0cd6c16e21245c81ee640293923a63c0ce3f47a5e57321f071bf0a01315ca85ea4
7
- data.tar.gz: 02e82e258a1b8be84959777890007f5d29051093eadc5bb53bc108fffab60eb65503d1314e6233c3686885e81de33af7213a863a0b52d8721c961d3c6d1cf990
6
+ metadata.gz: e18ccb00cbbb75f5257943653506898721757e3dd208da9f46a21b9b47abf9c73203e4695144db0012fadb577b587cb63ad9bd84764384ddae6d1d4ba5859db9
7
+ data.tar.gz: 2e5511d3319546404d18a1c8f1a11d14cd093e97cdfa17917de110bfe7d7bd2fa6be5c41b2ae571f12d993528d46bf3ac8ec794d9fd8a5eec0c24e498f044e87
@@ -10,8 +10,8 @@ module Wework
10
10
  @app_secret = options[:app_secret]
11
11
  end
12
12
 
13
- def contract
14
- @contract ||= Wework::Api::Contact.new(corp_id, corp_secret) if contract?
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 contract?
27
+ def contact?
28
28
  corp_id.present? && corp_secret.present?
29
29
  end
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module Wework
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
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.6
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-22 00:00:00.000000000 Z
11
+ date: 2016-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http