Commit 47545c86a1ada5d1e91c73a7446af40af36f8c91
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 | 1 | module Dingtalk |
2 | 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 | 5 | def initialize(corp_id) |
6 | 6 | @corp_id = corp_id |
7 | - @isv_mode = false | |
7 | + @isv_mode = true | |
8 | 8 | @corp_secret = '' |
9 | + @permanent_code = '' | |
9 | 10 | end |
10 | 11 | end |
11 | 12 | end |
12 | 13 | \ No newline at end of file | ... | ... |