Class: Motor::ResourceMethodsController
- Inherits:
-
ApiBaseController
- Object
- ActionController::API
- ApiBaseController
- Motor::ResourceMethodsController
- Defined in:
- app/controllers/motor/resource_methods_controller.rb
Instance Method Summary collapse
Methods included from CurrentAbility
Methods included from CurrentUserMethod
Instance Method Details
#show ⇒ Object
9 10 11 |
# File 'app/controllers/motor/resource_methods_controller.rb', line 9 def show render json: { data: ActiveRecordUtils::FetchMethods.call(resource_class) } end |