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) ⇒ Object



16
17
18
# File 'lib/octokit/client/request.rb', line 16

def delete(path, options={}, raw=false, format_path=true)
  request(:delete, path, options, raw, format_path)
end

#get(path, options = {}, raw = false, format_path = true) ⇒ Object



4
5
6
# File 'lib/octokit/client/request.rb', line 4

def get(path, options={}, raw=false, format_path=true)
  request(:get, path, options, raw, format_path)
end

#post(path, options = {}, raw = false, format_path = true) ⇒ Object



8
9
10
# File 'lib/octokit/client/request.rb', line 8

def post(path, options={}, raw=false, format_path=true)
  request(:post, path, options, raw, format_path)
end

#put(path, options = {}, raw = false, format_path = true) ⇒ Object



12
13
14
# File 'lib/octokit/client/request.rb', line 12

def put(path, options={}, raw=false, format_path=true)
  request(:put, path, options, raw, format_path)
end