Commit 47545c86a1ada5d1e91c73a7446af40af36f8c91

Authored by Tao Huang
1 parent 843a2031
Exists in master

Add more properties to corp

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
lib/dingtalk/corp.rb
1 module Dingtalk 1 module Dingtalk
2 class Corp 2 class Corp
3 - attr_accessor :corp_id, :isv_mode, :corp_secret 3 + attr_accessor :corp_id, :isv_mode, :corp_secret, :permanent_code
4 4
5 def initialize(corp_id) 5 def initialize(corp_id)
6 @corp_id = corp_id 6 @corp_id = corp_id
7 - @isv_mode = false 7 + @isv_mode = true
8 @corp_secret = '' 8 @corp_secret = ''
  9 + @permanent_code = ''
9 end 10 end
10 end 11 end
11 end 12 end
12 \ No newline at end of file 13 \ No newline at end of file