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