Sha256: 7cd4b6a93c3c5a5af748a735cad35607f7619c2cedd623434e2d079910cea69c

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

#TODO: Support file uploads

class Tumblr
  class Post
    class Photo < Post
                  
      def initialize(post_id = nil)
        super post_id
        @type = :photo
      end
      
      parameters :source, :caption, :click_through_url
            
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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