Module: Assonnato::Request

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

Instance Method Summary collapse

Instance Method Details

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



11
12
13
# File 'lib/assonnato/request.rb', line 11

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

#post(path, data = {}, headers = {}) ⇒ Object



15
16
17
# File 'lib/assonnato/request.rb', line 15

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