Sha256: d69814d2c827c27882577df333124fc356aef3e7ad461792eb0ac25de724a2c0

Contents?: true

Size: 283 Bytes

Versions: 7

Compression:

Stored size: 283 Bytes

Contents

#TODO: Support file uploading

class Tumblr
  class Post
    class Video < Post
      
      def initialize(video, post_id = nil)
        super post_id
        self.embed = video
        @type = :video
      end
      
      parameters :caption, :embed
            
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tumblr-rb-1.3.0 lib/tumblr/post/video.rb
tumblr-rb-1.2.0 lib/tumblr/post/video.rb
tumblr-rb-1.1.1 lib/tumblr/post/video.rb
tumblr-rb-1.1.0 lib/tumblr/post/video.rb
tumblr-rb-1.0.0 lib/tumblr/post/video.rb
tumblr-rb-0.1.1 lib/tumblr/post/video.rb
tumblr-rb-0.1.0 lib/tumblr/post/video.rb