From eb95f0e5b2bc606eeffb2e214379082862d973d6 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Thu, 13 Apr 2017 16:24:55 -0300 Subject: Fix comment representation --- lib/github/representation/comment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github/representation/comment.rb b/lib/github/representation/comment.rb index ac7832ce28b..819e4107118 100644 --- a/lib/github/representation/comment.rb +++ b/lib/github/representation/comment.rb @@ -47,11 +47,11 @@ module Github end def diff_hunk - raw_data.diff_hunk + raw['diff_hunk'] end def file_path - raw_data.path + raw['path'] end end end -- cgit v1.2.1