api refactoring for retrofit2
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package com.meloda.fast.extensions
|
||||
|
||||
fun Boolean.toApiStyle() = (if (this) 1 else 0).toString()
|
||||
Reference in New Issue
Block a user