Method: AppEngine::OAuth.current_user
- Defined in:
- lib/appengine-apis/oauth.rb
.current_user ⇒ Object
If the user is logged in, this method will return a User that contains information about them. Note that repeated calls may not necessarily return the same User object.
36 37 38 |
# File 'lib/appengine-apis/oauth.rb', line 36 def current_user Service.current_user end |