Permalink
Browse files

Tumblr convenience methods for Reader#pages and all_pages

  • Loading branch information...
1 parent 7ca0d48 commit 20f51c62eef71dd81836e6dc5c3e77cca2e800e2 @mwunsch mwunsch committed Mar 26, 2010
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/tumblr.rb
View
@@ -42,6 +42,14 @@ def authenticate(theme = false)
Authenticator.new(@credentials[:email],@credentials[:password]).authenticate(params)
end
+ def pages(username)
+ reader.pages(username)
+ end
+
+ def all_pages(username)
+ reader.all_pages(username)
+ end
+
def reader
if @credentials.blank?
Reader.new

0 comments on commit 20f51c6

Please sign in to comment.