summaryrefslogtreecommitdiff
path: root/lib/bitbucket/representation/pull_request_comment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitbucket/representation/pull_request_comment.rb')
-rw-r--r--lib/bitbucket/representation/pull_request_comment.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bitbucket/representation/pull_request_comment.rb b/lib/bitbucket/representation/pull_request_comment.rb
index 4f8efe03bae..c52acbc3ddc 100644
--- a/lib/bitbucket/representation/pull_request_comment.rb
+++ b/lib/bitbucket/representation/pull_request_comment.rb
@@ -22,11 +22,11 @@ module Bitbucket
end
def inline?
- raw.has_key?('inline')
+ raw.key?('inline')
end
def has_parent?
- raw.has_key?('parent')
+ raw.key?('parent')
end
private