class DingBot::Message::Base
Public Instance Methods
body_params()
click to toggle source
# File lib/dingbot/message/base.rb, line 20 def body_params { msgtype: msg_type } end
msg_type()
click to toggle source
# File lib/dingbot/message/base.rb, line 16 def msg_type # implement inside child end
to_json()
click to toggle source
Set http post body as json string
# File lib/dingbot/message/base.rb, line 27 def to_json body_params.to_json end