code: public VariationService createVariationService(final String endpointUrl) {
          return new RestAdapter.Builder()
              .setEndpoint(endpointUrl)
              .setErrorHandler(errorHandler)
              .setConverter(new JacksonVariationConverter(jsonFactory))
              .build().create(VariationService.class);
      }
docs: Create and return a new variation service with the specified endpoint URL.
  
  @param endpointUrl endpoint URL, must not be null
  @return a new variation service with the specified endpoint URL