Module: Tumblr::Blog

Defined in:
lib/draftking/patches/tumblr_client.rb

Overview

Tumblr::Blog patch

Instance Method Summary collapse

Instance Method Details

#draft(blog_name, options = {}) ⇒ Object

Patch for a bug in the tumblr_client 0.8.5 gem



5
6
7
8
# File 'lib/draftking/patches/tumblr_client.rb', line 5

def draft(blog_name, options = {})
  validate_options([:limit, :before_id], options)
  get(blog_path(blog_name, 'posts/draft'), options)
end