Module: Open311::Client::Request

Included in:
Open311::Client
Defined in:
lib/open311/client/request.rb

Instance Method Summary collapse

Instance Method Details

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



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

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

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



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

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

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



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

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

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



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

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