Module: GettyConnect::Request

Included in:
Client
Defined in:
lib/getty_connect/request.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, options = {}, use_ssl = false) ⇒ Object



5
6
7
# File 'lib/getty_connect/request.rb', line 5

def delete(path, options={}, use_ssl=false)
  request(:delete, path, options, use_ssl)
end

#get(path, options = {}, use_ssl = false) ⇒ Object



9
10
11
# File 'lib/getty_connect/request.rb', line 9

def get(path, options={}, use_ssl=false)
  request(:get, path, options, use_ssl)
end

#patch(path, options = {}, use_ssl = false) ⇒ Object



13
14
15
# File 'lib/getty_connect/request.rb', line 13

def patch(path, options={}, use_ssl=false)
  request(:patch, path, options, use_ssl)
end

#post(path, options = {}, use_ssl = false) ⇒ Object



17
18
19
# File 'lib/getty_connect/request.rb', line 17

def post(path, options={}, use_ssl=false)
  request(:post, path, options, use_ssl)
end

#put(path, options = {}, use_ssl = false) ⇒ Object



21
22
23
# File 'lib/getty_connect/request.rb', line 21

def put(path, options={}, use_ssl=false)
  request(:put, path, options, use_ssl)
end