Skip to content

Commit

Permalink
Update lib/weibo/client.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
helix-dan committed Aug 3, 2012
1 parent 0369118 commit 18da0cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/weibo/client.rb
Expand Up @@ -60,10 +60,19 @@ def friendships_friends(options = {})
self.oauth.get "friendships/friends", default_params.merge(options)
end

# add by github user helix_dan start 2012-08-03 11:41 am
def friendships_friends_bilateral(uid, options = {})
default_params = { :page => 1, :count => 50, :sort => 0 }
self.oauth.get "friendships/friends/bilateral", default_params.merge(options)
end
# add by helix_dan end

def friendships_create(uid)
self.oauth.post("friendships/create", :uid => uid)
end




################# 用户接口

Expand Down

0 comments on commit 18da0cc

Please sign in to comment.