class Tumblr4r::Video

Attributes

data[RW]
title[RW]
video_caption[RW]
video_player[RW]
video_source[RW]

Public Instance Methods

params() click to toggle source

TODO: title は vimeo へのアップロードのときのみ有効らしい TODO: embed を使うか、アップロードしたdataを使うかってのは Tumblr側で勝手に判断されるのかなぁ?

Calls superclass method Tumblr4r::Post#params
# File lib/tumblr4r.rb, line 355
def params
  super.merge!(
               {"embed" => @video_source,
                 "data" => @data,
                 "title" => @title,
                 "caption" => @video_caption})
end