From d21e269579e81d04e96f1c1d622353a1cbb0c74d Mon Sep 17 00:00:00 2001 From: bspeice Date: Sat, 19 Oct 2013 20:57:16 -0400 Subject: [PATCH] GamedayService now knows about the new REST methods --- src/com/uncc/gameday/registration/GamedayService.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/com/uncc/gameday/registration/GamedayService.java b/src/com/uncc/gameday/registration/GamedayService.java index 1a1de24..f93d7c4 100644 --- a/src/com/uncc/gameday/registration/GamedayService.java +++ b/src/com/uncc/gameday/registration/GamedayService.java @@ -15,5 +15,14 @@ public interface GamedayService { @POST("/rate/") void rateLot(@Body ParkingRating p, Callback lot); + + @GET("/register/{id}/") + Attendee getUser(@Query("id") int id); + + @GET("/register/") + List getAllUsers(); + + @POST("/register/") + void registerUser(@Body Attendee a, Callback attendee); }