aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-07 03:03:01 +0100
committerTeddy Wing2017-11-07 03:03:01 +0100
commit2f235fe9eb1e39db6d0d18818e89b63edf4e1b7b (patch)
treec0e3a243d7ec42bb44ebb241cb61149f9a9d38d8 /src/main.rs
parent3958a7c917976e4e3d5e86be73f2e5289849972f (diff)
downloadkipper-2f235fe9eb1e39db6d0d18818e89b63edf4e1b7b.tar.bz2
pull_request.rs: Parse JSON payload to create `CommitRef` struct
The test now passes, and we create our `CommitRef` struct using actual values from the parsed JSON. In order to get the branch name, we need the part after the last "/" in the "ref" key. There are a ton of `unwrap`s here, but at least it's a start and it's working now.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions