package com.github.zzwwws.rxzhihudaily.presenter.usercase;

import com.github.zzwwws.rxzhihudaily.model.entities.Feed;
import com.github.zzwwws.rxzhihudaily.model.service.ServiceRest;

import rx.Observable;

/**
 * Created by zzwwws on 2016/2/18.
 */
public class NewStoryCase extends UserCase<Feed,String> {


    @Override
    protected Observable<Feed> interactor(String params) {
        return ServiceRest.getInstance().fetchLatestStory();
    }
}
