Class: DataController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- DataController
- Defined in:
- app/controllers/data_controller.rb
Instance Method Summary collapse
Instance Method Details
#convert ⇒ Object
2 3 4 5 |
# File 'app/controllers/data_controller.rb', line 2 def convert data = JData.process(params[:data]) render json: data, status: :ok end |