package info.arimateia.androidmvm.repository.remote;

import com.google.gson.JsonObject;

import info.arimateia.androidmvm.model.PeopleResults;
import retrofit2.http.GET;
import rx.Observable;

/**
 * Created by felipets on 8/22/16.
 */

public interface PeopleApi {

    @GET("people")
    Observable<PeopleResults> people();
}

@@ -58,36 +58,54 @@
 ort 
-com.google.gson.JsonObject;%0A
+info.arimateia.androidmvm.model.PeopleResults;
 %0Aimp
@@ -138,35 +138,28 @@
 mvm.model.Pe
-opleResults
+rson
 ;%0Aimport ret
@@ -175,16 +175,43 @@
 tp.GET;%0A
+import retrofit2.http.Url;%0A
 import r
@@ -357,11 +357,72 @@
 eople();
+%0A%0A    @GET%0A    Observable%3CPerson%3E getPerson(@Url String url);
 %0A%7D%0A

Add new service