Class: Ss2::GetDataController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Ss2::GetDataController
- Defined in:
- app/controllers/ss2/get_data_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/ss2/get_data_controller.rb', line 5 def create if params['jsonString'] != "" error_code = Ss2.send_js_request request, params end respond_to do |format| format.json { render :json => { error_code: error_code} } end end |