Commit 85152122 by Francis Zhou

增加 agent_id

parent 24b8203f
...@@ -34,10 +34,10 @@ module Dingtalk ...@@ -34,10 +34,10 @@ module Dingtalk
include AccessToken include AccessToken
include CorpConversation include CorpConversation
attr_reader :app_key, :app_secret attr_reader :agent_id, :app_key, :app_secret
def initialize(app_key:, app_secret:) def initialize(agent_id:, app_key:, app_secret:)
@app_key, @app_secret = app_key, app_secret @agent_id, @app_key, @app_secret = agent_id, app_key, app_secret
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment