Files
nemo_encoder/app/views/api/batches/resume_batch.json.jbuilder
Sunandar 0c4f797551 edit api
2017-01-25 14:29:49 +06:30

7 lines
144 B
Ruby

if @out[0] == true
json.set! :status, @out[0]
json.set! :data, @out[1]
else
json.set! :status, @out[0]
json.set! :message,@out[1]
end