Exception: Dingtalk::TopException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#application_hostObject

Returns the value of attribute application_host.



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

def application_host
  @application_host
end

#errcodeObject

Returns the value of attribute errcode.



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

def errcode
  @errcode
end

#errmsgObject

Returns the value of attribute errmsg.



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

def errmsg
  @errmsg
end

#service_hostObject

Returns the value of attribute service_host.



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

def service_host
  @service_host
end

Instance Method Details

#to_sObject



11
12
13
# File 'lib/dingtalk.rb', line 11

def to_s
  "\nerrcode= #{@errcode}\nerrmsg=#{@errmsg}\napplication_host=#{@application_host}\nservice_host=#{@service_host}"
end