Module: Inthegra::Request

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

Instance Method Summary collapse

Instance Method Details

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



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

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

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



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

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