Sha256: 49f24a21da4ee33a849e27525a7dc7e8e59f799fce49f6d9178133f0952ac510
Contents?: true
Size: 592 Bytes
Versions: 1
Compression:
Stored size: 592 Bytes
Contents
module Line module Bot module MessageBuilder class Message::Audio < Message attr_accessor :original_content_url, :duration def initialize(original_content_url: nil, duration: nil) super 'audio' do @original_content_url = original_content_url @duration = duration yield self if block_given? end end def self.required { 'type' => String, 'original_content_url' => String, 'duration' => Integer } 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/audio.rb |