Class: Dingtalk::Configuration
- Inherits:
-
Object
- Object
- Dingtalk::Configuration
- Defined in:
- lib/dingtalk.rb
Instance Attribute Summary collapse
-
#appkey ⇒ Object
Returns the value of attribute appkey.
-
#appsecret ⇒ Object
Returns the value of attribute appsecret.
-
#corpid ⇒ Object
Returns the value of attribute corpid.
-
#oapi_host ⇒ Object
Returns the value of attribute oapi_host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
31 32 33 34 35 36 |
# File 'lib/dingtalk.rb', line 31 def initialize @oapi_host = "https://oapi.dingtalk.com" @corpid = "" @appkey = "" @appsecret = "" end |
Instance Attribute Details
#appkey ⇒ Object
Returns the value of attribute appkey.
29 30 31 |
# File 'lib/dingtalk.rb', line 29 def appkey @appkey end |
#appsecret ⇒ Object
Returns the value of attribute appsecret.
29 30 31 |
# File 'lib/dingtalk.rb', line 29 def appsecret @appsecret end |
#corpid ⇒ Object
Returns the value of attribute corpid.
29 30 31 |
# File 'lib/dingtalk.rb', line 29 def corpid @corpid end |
#oapi_host ⇒ Object
Returns the value of attribute oapi_host.
29 30 31 |
# File 'lib/dingtalk.rb', line 29 def oapi_host @oapi_host end |