Add the initial Retrofit REST API code

Note: Completely untested, but it looks cool!
This commit is contained in:
bspeice
2013-10-16 14:39:43 -04:00
parent f65e57313a
commit 7cefd630d3
6 changed files with 60 additions and 36 deletions

View File

@ -0,0 +1,15 @@
package com.uncc.gameday.registration;
import java.util.List;
import retrofit.http.*;
public interface GamedayService {
@GET("/lots/")
List<ParkingLot> listLots();
@POST("/rating/")
void rateLot(@Body ParkingRating rating, @Body ParkingChoices parking_lot);
}