vendor/bundle/ruby/2.7.0/gems/octokit-4.20.0/lib/octokit/connection.rb
# Executes the request, checking if it was successful
#
# @return [Boolean] True on success, false otherwise
Executes the request, checking if it was successful
Executes the request checking if it was successful
def boolean_from_response(method, path, options = {})
      request(method, path, options)
      [201, 202, 204].include? @last_response.status
    rescue Octokit::NotFound
      false
    end
def boolean_from_response ( method , path , options = { } ) request ( method , path , options ) [ 201 , 202 , 204 ] . include? @last_response . status rescue Octokit :: NotFound false end
Executes the request, checking if it was successful
Executes the request checking if it was successful
True on success, false otherwise
True on success false otherwise
Boolean
method
<not_specific>
path
<not_specific>
options
<not_specific>