Module: Invoicexpress::Request

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

Instance Method Summary collapse

Instance Method Details

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



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

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

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



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

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

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



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

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

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



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

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

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



20
21
22
# File 'lib/invoicexpress/request.rb', line 20

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