Class: Dingtalk::Api::OapiSnsGetuserinfoBycodeRequest

Inherits:
Base
  • Object
show all
Defined in:
lib/dingtalk/api/OapiSnsGetuserinfoBycodeRequest.rb

Overview

get token

Instance Attribute Summary collapse

Attributes inherited from Base

#__domain, #__path, #__port

Instance Method Summary collapse

Methods inherited from Base

#computeSignature, #getApiPath, #getApplicationParameters, #getCanonicalStringForIsv, #getMultipartParas, #getRequestHeader, #getResponse, #getTranslateParas, #initialize

Constructor Details

This class inherits a constructor from Dingtalk::Api::Base

Instance Attribute Details

#tmp_auth_codeObject

Returns the value of attribute tmp_auth_code.



7
8
9
# File 'lib/dingtalk/api/OapiSnsGetuserinfoBycodeRequest.rb', line 7

def tmp_auth_code
  @tmp_auth_code
end

Instance Method Details

#getapinameObject



13
14
15
# File 'lib/dingtalk/api/OapiSnsGetuserinfoBycodeRequest.rb', line 13

def getapiname
  'dingtalk.oapi.sns.getuserinfo_bycode'
end

#getHttpMethodObject



9
10
11
# File 'lib/dingtalk/api/OapiSnsGetuserinfoBycodeRequest.rb', line 9

def getHttpMethod
  'POST'
end