Class: Oauth2::UsersController
- Inherits:
-
Oauth2Controller
- Object
- Oauth2Controller
- Oauth2::UsersController
- Defined in:
- app/controllers/oauth2/users_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/oauth2/users_controller.rb', line 5 def show attributes = user.try!(:oauth_attributes) || user.attributes.only(*%w[name email uuid]) render :json => attributes end |