class DingBot::Message::ActionBtn
跳转按钮
Attributes
action_url[RW]
title[RW]
Public Class Methods
new(title='', action_url='')
click to toggle source
# File lib/dingbot/message/action_card.rb, line 95 def initialize(title='', action_url='') @title = title @action_url = action_url end
Public Instance Methods
format()
click to toggle source
# File lib/dingbot/message/action_card.rb, line 100 def format { title: @title, actionURL: @action_url } end