class Line::Bot::MessageBuilder::Action::Message
Attributes
label[RW]
text[RW]
Public Class Methods
new(label: nil, text: nil) { |self| ... }
click to toggle source
Calls superclass method
# File lib/line/bot/message_builder/actions/message.rb, line 7 def initialize(label: nil, text: nil) super 'message' do @label = label @text = text yield self if block_given? end end
required()
click to toggle source
# File lib/line/bot/message_builder/actions/message.rb, line 15 def self.required { 'type' => String, 'label' => String, 'text' => String } end