public static async Task <ResponseWrapper <InfoResponse> > GetAsync(this SearchBeerEndpoint endpoint)
        {
            string url = endpoint.GenerateUrl();

            Info info = new Info();

            HttpResponseMessage responseMesage = await endpoint.Service.Client.GetAsync(url);

            string json = await responseMesage.Content.ReadAsStringAsync();

            ResponseWrapper <InfoResponse> checkinsResponseWrapper = JsonConvert.DeserializeObject <ResponseWrapper <InfoResponse> >(json);

            return(checkinsResponseWrapper);
        }
 public static SearchBeerEndpoint Compact(this SearchBeerEndpoint endpoint, bool compact = true)
 {
     endpoint.Compact = compact;
     return(endpoint);
 }