Skip to content

Instantly share code, notes, and snippets.

@Unlimity
Created April 9, 2019 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Unlimity/aea0b88f2aedb9614ebd99c3490c46de to your computer and use it in GitHub Desktop.
Save Unlimity/aea0b88f2aedb9614ebd99c3490c46de to your computer and use it in GitHub Desktop.
interface YourApi {
val api: Api
fun putListing(listing: Listing) = api.put {
endpointUrl = "/putListing"
body = listing
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment