Beispiel #1
0
 public Gist Edit(long id, SaveGist updatedGist)
 {
     return client.Patch(updatedGist, "gists/:id", id).OnOk().As<Gist>();
 }
Beispiel #2
0
 public Gist Create(SaveGist saveGist)
 {
     return client.Post(saveGist, "gists").On(HttpStatusCode.Created).As<Gist>();
 }