Sha256: 6853b8ae80efe921fcad8200ad64ef07dee64aee3a63bf48eb8b15c00a5940bc
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
module Line module Bot module MessageBuilder class Message::Text < Message attr_accessor :text def initialize(text: nil) super 'text' do @text = text yield self if block_given? end end def self.required { 'type' => String, 'text' => String } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
line-bot-message-builder-0.1.2 | lib/line/bot/message_builder/messages/text.rb |