7 lines
144 B
Ruby
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 |