Module: Tweetsentiments::Request

Included in:
API
Defined in:
lib/tweetsentiments/request.rb

Instance Method Summary collapse

Instance Method Details

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



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

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

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



3
4
5
# File 'lib/tweetsentiments/request.rb', line 3

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

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



6
7
8
# File 'lib/tweetsentiments/request.rb', line 6

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

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



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

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