Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
Comprobamos que todo está listo para resevar un coche
*/
public func confirm(intent: BookRideIntent, completion: @escaping (BookRideIntentResponse) -> Void) -> Void {
// En Ubify no falla nada y siempre hay coches disponibles ;-)
completion(BookRideIntentResponse(code: .ready, userActivity: nil))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment