public LabelsUpdateRequest(IUpdatableLabel label) : base(label.Id, method: Method.PUT) { Guard.RequiredTrelloString(label.Name, "name"); AddParameter("name", label.Name); AddParameter("color", label.Color); }
public Task Update(IUpdatableLabel label) { return(_restClient.RequestAsync(new LabelsUpdateRequest(label))); }
public void Update(IUpdatableLabel label) { _restClient.Request(new LabelsUpdateRequest(label)); }