Module: Octokit::Client::Request
- Included in:
- Octokit::Client
- Defined in:
- lib/octokit/client/request.rb
Instance Method Summary collapse
- #delete(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
- #get(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
- #post(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
- #put(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
Instance Method Details
#delete(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
16 17 18 |
# File 'lib/octokit/client/request.rb', line 16 def delete(path, ={}, raw=false, format_path=true, authenticate=true) request(:delete, path, , raw, format_path, authenticate) end |
#get(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
4 5 6 |
# File 'lib/octokit/client/request.rb', line 4 def get(path, ={}, raw=false, format_path=true, authenticate=true) request(:get, path, , raw, format_path, authenticate) end |
#post(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
8 9 10 |
# File 'lib/octokit/client/request.rb', line 8 def post(path, ={}, raw=false, format_path=true, authenticate=true) request(:post, path, , raw, format_path, authenticate) end |
#put(path, options = {}, raw = false, format_path = true, authenticate = true) ⇒ Object
12 13 14 |
# File 'lib/octokit/client/request.rb', line 12 def put(path, ={}, raw=false, format_path=true, authenticate=true) request(:put, path, , raw, format_path, authenticate) end |