Files
nemo_encoder/app/views/api/clients/index.json.jbuilder
2017-02-03 17:56:43 +06:30

7 lines
140 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