class DingDingRobot::Message::Markdown

Public Class Methods

new(title, text) click to toggle source
Calls superclass method DingDingRobot::Message::new
# File lib/ding_ding_robot/message/markdown.rb, line 4
def initialize(title, text)
  super(
        "markdown",
        {
         title: title,
         text: text,
        }
       )
end