Last active
February 10, 2020 15:26
-
-
Save lukaszkalnik/46f1f7cc5d129615509b1572794799df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.grandcentrix.gatewayapi.data.remote | |
internal interface GatewayApi { | |
@GET("lights/{roomId}") | |
suspend fun getLights(@Path("roomId") roomId: String): Response<Entity> | |
@GET("system") | |
suspend fun getSystemDetail(): Response<Entity> | |
companion object { | |
fun create(baseUrl: String): GatewayApi = // Retrofit... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment