add new api

This commit is contained in:
Sunandar
2017-02-08 17:35:47 +06:30
parent 26d42631c7
commit 43ada02033
18 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
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