Method: Octokit::Client::Gists#gist_comments

Defined in:
lib/octokit/client/gists.rb

#gist_comments(gist_id, options = {}) ⇒ Array<Sawyer::Resource>

List gist comments

Examples:

Octokit.gist_comments('3528ae645')

Parameters:

  • gist_id (String)

    Gist Id.

Returns:

  • (Array<Sawyer::Resource>)

    Array of hashes representing comments.

See Also:



172
173
174
# File 'lib/octokit/client/gists.rb', line 172

def gist_comments(gist_id, options = {})
  paginate "gists/#{gist_id}/comments", options
end