Method: Octokit::Client::Gists#gist_comment

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

#gist_comment(gist_id, gist_comment_id, options = {}) ⇒ Sawyer::Resource

Get gist comment

Examples:

Octokit.gist_comment('208sdaz3', 1451398)

Parameters:

  • gist_id (String)

    Id of the gist.

  • gist_comment_id (Integer)

    Id of the gist comment.

Returns:

  • (Sawyer::Resource)

    Hash representing gist comment.

See Also:



184
185
186
# File 'lib/octokit/client/gists.rb', line 184

def gist_comment(gist_id, gist_comment_id, options = {})
  get "gists/#{gist_id}/comments/#{gist_comment_id}", options
end