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 inherited from ApiBaseController
#current_ability, #current_user
Instance Method Details
#show ⇒ Object
7 8 9 |
# File 'app/controllers/motor/resource_methods_controller.rb', line 7 def show render json: { data: ActiveRecordUtils::FetchMethods.call(resource_class) } end |