Class: Dingtalk::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#appkeyObject

Returns the value of attribute appkey.



29
30
31
# File 'lib/dingtalk.rb', line 29

def appkey
  @appkey
end

#appsecretObject

Returns the value of attribute appsecret.



29
30
31
# File 'lib/dingtalk.rb', line 29

def appsecret
  @appsecret
end

#corpidObject

Returns the value of attribute corpid.



29
30
31
# File 'lib/dingtalk.rb', line 29

def corpid
  @corpid
end

#oapi_hostObject

Returns the value of attribute oapi_host.



29
30
31
# File 'lib/dingtalk.rb', line 29

def oapi_host
  @oapi_host
end