Permalink
Browse files

adds ability to lookup current user without ID

  • Loading branch information...
1 parent ad8dfa8 commit e816b7dae63ee1a1687e0320c9df2901b669c15b @astevens astevens committed Nov 26, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/yammer/client/users.rb
@@ -9,6 +9,10 @@ def users(options = {})
def find_by_id(id, options={})
response = get("users/#{id}", options, :json)
end
+
+ def current_user(options = {})
+ response = get("users/current", options, :json)
+ end
end
end
end

0 comments on commit e816b7d

Please sign in to comment.