module Tumblr::Client::User

Public Instance Methods

dashboard(params={}) click to toggle source
# File lib/tumblr/client/user.rb, line 8
def dashboard(params={})
  get "/#{API_VERSION}/user/dashboard", params 
end
follow(url) click to toggle source
# File lib/tumblr/client/user.rb, line 20
def follow(url)
  post "/#{API_VERSION}/user/follow", {"url" => url}
end
following(params={}) click to toggle source
# File lib/tumblr/client/user.rb, line 16
def following(params={})
  get "/#{API_VERSION}/user/following", params 
end
like(id, reblog_key) click to toggle source
# File lib/tumblr/client/user.rb, line 28
def like(id, reblog_key)
  post "/#{API_VERSION}/user/like", {"id" => id, "reblog_key" => reblog_key}
end
likes(params={}) click to toggle source
# File lib/tumblr/client/user.rb, line 12
def likes(params={})
  get "/#{API_VERSION}/user/likes", params 
end
unfollow(url) click to toggle source
# File lib/tumblr/client/user.rb, line 24
def unfollow(url)
  post "/#{API_VERSION}/user/unfollow", {"url" => url}
end
unlike(id, reblog_key) click to toggle source
# File lib/tumblr/client/user.rb, line 32
def unlike(id, reblog_key)
  post "/#{API_VERSION}/user/unlike", {"id" => id, "reblog_key" => reblog_key}
end
user_info() click to toggle source
# File lib/tumblr/client/user.rb, line 4
def user_info
  get "/#{API_VERSION}/user/info" 
end