Module: Octokit::Client::Request

Included in:
Octokit::Client
Defined in:
lib/octokit/client/request.rb

Instance Method Summary collapse

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, options={}, raw=false, format_path=true, authenticate=true)
  request(:delete, path, options, 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, options={}, raw=false, format_path=true, authenticate=true)
  request(:get, path, options, 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, options={}, raw=false, format_path=true, authenticate=true)
  request(:post, path, options, 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, options={}, raw=false, format_path=true, authenticate=true)
  request(:put, path, options, raw, format_path, authenticate)
end