Example #1
0
 /**
  * Public ctor.
  *
  * @param req Request
  * @param repo Repository
  * @param name Name of it
  */
 RtLabel(final Request req, final Repo repo, final String name) {
   final Coordinates coords = repo.coordinates();
   this.request =
       req.uri()
           .path("/repos")
           .path(coords.user())
           .path(coords.repo())
           .path("/labels")
           .path(name)
           .back();
   this.owner = repo;
   this.txt = name;
 }