Method: Octokit::Client::Gists#create_gist_comment
- Defined in:
- lib/octokit/client/gists.rb
#create_gist_comment(gist_id, comment, options = {}) ⇒ Sawyer::Resource
Create gist comment
Requires authenticated client.
198 199 200 201 |
# File 'lib/octokit/client/gists.rb', line 198 def create_gist_comment(gist_id, comment, = {}) = .merge({ body: comment }) post "gists/#{gist_id}/comments", end |