package me.manulorenzo.keddit.network

import com.droidcba.kedditbysteps.api.RedditNewsResponse
import retrofit2.Call
import javax.inject.Inject


/**
 * Created by Manuel Lorenzo on 07/11/2016.
 */
class RedditRestApiImpl @Inject constructor(val redditApi: RedditApi) : RedditRestApiInterface {
    override fun getNews(after: String, limit: String): Call<RedditNewsResponse> {
        return redditApi.getTop(after, limit)
    }
}