Esempio n. 1
0
        public LabelsUpdateRequest(IUpdatableLabel label)
            : base(label.Id, method: Method.PUT)
        {
            Guard.RequiredTrelloString(label.Name, "name");

            AddParameter("name", label.Name);
            AddParameter("color", label.Color);
        }
Esempio n. 2
0
 public Task Update(IUpdatableLabel label)
 {
     return(_restClient.RequestAsync(new LabelsUpdateRequest(label)));
 }
Esempio n. 3
0
 public void Update(IUpdatableLabel label)
 {
     _restClient.Request(new LabelsUpdateRequest(label));
 }