Module: GoogleCivic::Request

Included in:
Client
Defined in:
lib/google-civic/request.rb

Instance Method Summary collapse

Instance Method Details

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



5
6
7
# File 'lib/google-civic/request.rb', line 5

def get(path,options={})
  request(:get, path, body=nil, options)
end

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



9
10
11
# File 'lib/google-civic/request.rb', line 9

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