Class: BsmOa::AccountsController
- Inherits:
-
ActionController::Metal
- Object
- ActionController::Metal
- BsmOa::AccountsController
- Includes:
- AbstractController::Callbacks, ActionController::Head, Doorkeeper::Rails::Helpers
- Defined in:
- app/controllers/bsm_oa/accounts_controller.rb
Instance Method Summary collapse
-
#show ⇒ Object
GET /me.json.
Instance Method Details
#show ⇒ Object
GET /me.json
10 11 12 13 |
# File 'app/controllers/bsm_oa/accounts_controller.rb', line 10 def show self.content_type = Mime[:json] self.response_body = account.respond_to?(:oa_json) ? account.oa_json : account.to_json end |