예제 #1
0
        public void Start(string name)
        {
            var requestBody = new PutName {
                name = name
            };
            var json = JsonConvert.SerializeObject(requestBody);

            ExecuteRequest("pomodoro", "PUT", json);
        }
예제 #2
0
    public void StopPomodoro(string name)
    {
        var requestBody = new PutName {
            name = name
        };
        var json = JsonConvert.SerializeObject(requestBody);

        DoGetRequest("pomodoro", "DELETE", json);
    }