Defines HTTP verbs
Make a delete request
@api public
# File lib/github_api/request/verbs.rb, line 47 def delete_request(path, params = ParamsHash.empty) Request.new(:delete, path, self).call(current_options, params) end
Make a get request
@api public
# File lib/github_api/request/verbs.rb, line 18 def get_request(path, params = ParamsHash.empty) request = Request.new(:get, path, self).call(current_options, params) request.auto_paginate end
Make a head request
@api public
# File lib/github_api/request/verbs.rb, line 11 def head_request(path, params = ParamsHash.empty) Request.new(:head, path, self).call(current_options, params) end
Make a options request
@api public
# File lib/github_api/request/verbs.rb, line 54 def options_request(path, params = ParamsHash.empty) Request.new(:options, path, self).call(current_options, params) end
Make a patch request
@api public
# File lib/github_api/request/verbs.rb, line 26 def patch_request(path, params = ParamsHash.empty) Request.new(:patch, path, self).call(current_options, params) end
Generated with the Darkfish Rdoc Generator 2.