Commit f2b52c64 by Francis Zhou

fix get_access_token annotation issue

parent 9bdc80db
...@@ -7,7 +7,7 @@ module Dingtalk ...@@ -7,7 +7,7 @@ module Dingtalk
# 获取 access_token # 获取 access_token
# {https://ding-doc.dingtalk.com/doc#/serverapi2/eev437} # {https://ding-doc.dingtalk.com/doc#/serverapi2/eev437}
# @!method get_access_token(appkey:, appsecret:) # @!method get_access_token
# @return [Hash] # @return [Hash]
add_request :get_access_token, :get, Dingtalk::RequestUrl::ACCESS_TOKEN do |request| add_request :get_access_token, :get, Dingtalk::RequestUrl::ACCESS_TOKEN do |request|
request.add_const :appkey, ->(r) { r.app_key }, in: :query request.add_const :appkey, ->(r) { r.app_key }, in: :query
......
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