class Pronto::Bitbucket

def create_pull_comment(comment)

def create_pull_comment(comment)
  if comment.path && comment.position
    @config.logger.log("Creating pull request comment on #{pull_id}")
    client.create_pull_comment(slug, pull_id, comment.body,
                               comment.path, comment.position)
  else
    create_commit_comment(comment)
  end
end