diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-02-09 21:54:46 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-02-13 10:53:45 +0100 |
commit | 43f1d800b92241d86703b5518aab171e039fde4e (patch) | |
tree | 8bcf88b79312ac5cff3fe5d1504d72af3d2281d2 /bot/src | |
parent | 3f06fe9cc2debaacbb889e33c7339457fc5355cd (diff) | |
download | dotty-43f1d800b92241d86703b5518aab171e039fde4e.tar.gz dotty-43f1d800b92241d86703b5518aab171e039fde4e.tar.bz2 dotty-43f1d800b92241d86703b5518aab171e039fde4e.zip |
Add test for unmarshalling github issue form JSON
Diffstat (limited to 'bot/src')
-rw-r--r-- | bot/src/dotty/tools/bot/model/Github.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/src/dotty/tools/bot/model/Github.scala b/bot/src/dotty/tools/bot/model/Github.scala new file mode 100644 index 000000000..c089f0cf2 --- /dev/null +++ b/bot/src/dotty/tools/bot/model/Github.scala @@ -0,0 +1,15 @@ +package dotty.tools.bot +package model + +object Github { + case class PullRequest( + url: String, + id: Long, + commits_url: String + ) + + case class Issue( + number: Int, + pull_request: Option[PullRequest] + ) +} |