Sha256: 7a3f1e98baf1bb1ee8835ae400d1105752448a7df1cd6c8e94f44ba3d0b1058d
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
module Line module Bot module MessageBuilder class Action::Uri < Action attr_accessor :label, :uri def initialize(label: nil, uri: nil) super 'uri' do @label = label @uri = uri yield self if block_given? end end def self.required { 'type' => String, 'label' => String, 'uri' => 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/actions/uri.rb |