Class QuizRepository
- java.lang.Object
-
- edu.cnm.deepdive.interviewprep.service.QuizRepository
-
public class QuizRepository extends Object
Encapsulates a persistent QuizRepository object that allows the Quiz ViewModel to interact with the Web Service Proxy to create, read, insert, and update data to the server.
-
-
Constructor Summary
Constructors Constructor Description QuizRepository()
Constructor for class that instantiates local fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Single<Question>
getRandomQuestion()
Gets a randomQuestion
from the server.
-