Skip to content

Instantly share code, notes, and snippets.

@egek92
Created July 10, 2019 09:32
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 egek92/dc1fd2bfda0cb3270b0b0b93dff8ed9d to your computer and use it in GitHub Desktop.
Save egek92/dc1fd2bfda0cb3270b0b0b93dff8ed9d to your computer and use it in GitHub Desktop.
class HotelRepositoryImpl() :
HotelRepository {
val apiService = ApiService()
override fun getHotels(page: Int): Single<HotelsListResponse> {
return apiService.getHotels(page = page)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment