package com.twitterclone.model.service;

import com.foxykeep.datadroid.service.RequestService;
import com.twitterclone.model.RequestFactory;
import com.twitterclone.model.operations.TweetsOperation;

public class RestService extends RequestService {

	@Override
	public Operation getOperationForType(int requestType) {
		switch (requestType) {
		case RequestFactory.REQUEST_TWEETS:
			return new TweetsOperation();
		default:
			return null;
		}
	}
	
}
