lib/github_bot/github/client.rb
# Public: Returns the current list of request comments
#
# @return [Array<Sawyer::Resource>] The list of pull request comments
Returns the current list of request comments
Returns the current list of request comments
def pull_request_comments
        @pull_request_comments ||= client.issue_comments(
          repository[:full_name],
          pull_request[:number]
        ).sort_by(&:created_at)
      end
def pull_request_comments @pull_request_comments ||= client . issue_comments ( repository [ :full_name ] , pull_request [ :number ] ) . sort_by ( & :created_at ) end
Public: Returns the current list of request comments
Public : Returns the current list of request comments
The list of pull request comments
The list of pull request comments
Array<Sawyer::Resource>