Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Implementing the API
package com.chelseatroy.canary.api
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
class MockyAPIImplementation {
private val service: LoginService
companion object {
const val BASE_URL = ""
init {
val retrofit = Retrofit.Builder()
service = retrofit.create(
suspend fun authenticate(): CanarySession {
return service.authenticate()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.