Module: WechatWork::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/wechat_work.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#agentidObject

Returns the value of attribute agentid.



10
11
12
# File 'lib/wechat_work.rb', line 10

def agentid
  @agentid
end

#agentsecretObject

Returns the value of attribute agentsecret.



11
12
13
# File 'lib/wechat_work.rb', line 11

def agentsecret
  @agentsecret
end

#corpidObject

Returns the value of attribute corpid.



9
10
11
# File 'lib/wechat_work.rb', line 9

def corpid
  @corpid
end

Instance Method Details

#resetObject



13
14
15
16
17
# File 'lib/wechat_work.rb', line 13

def reset
  self.corpid = nil
  self.agentid = nil
  self.agentsecret = nil
end