Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created September 3, 2018 07:03
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 fitomad/7c54ae986df5069b5a3d827da343f49c to your computer and use it in GitHub Desktop.
Save fitomad/7c54ae986df5069b5a3d827da343f49c to your computer and use it in GitHub Desktop.
/**
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