@Path(value="api/calls")
public final class RateLimitResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private RateLimitMarketPlaceBuilder |
serviceBuilder |
Constructor and Description |
---|
RateLimitResource(RateLimitMarketPlaceBuilder serviceBuilder) |
private final RateLimitMarketPlaceBuilder serviceBuilder
@Inject public RateLimitResource(RateLimitMarketPlaceBuilder serviceBuilder)
@POST @Path(value="{shopId}") @Produces(value="application/json") public javax.ws.rs.core.Response consume(@PathParam(value="shopId") GUID shopId)
shopId
- The current shop@GET @Path(value="{shopId}") @Produces(value="application/json") public javax.ws.rs.core.Response get(@PathParam(value="shopId") GUID shopId)
shopId
- The current shop