class Pronto::Bitbucket
def commit_comments(sha)
def commit_comments(sha) @comment_cache[sha.to_s] ||= begin client.commit_comments(slug, sha).map do |comment| Comment.new(sha, comment.content, comment.filename, comment.line_to) end end end
def commit_comments(sha) @comment_cache[sha.to_s] ||= begin client.commit_comments(slug, sha).map do |comment| Comment.new(sha, comment.content, comment.filename, comment.line_to) end end end