Module: Telleroo::Request

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

Overview

Handles HTTP requests

Instance Method Summary collapse

Instance Method Details

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



14
15
16
# File 'lib/telleroo/request.rb', line 14

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

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



6
7
8
# File 'lib/telleroo/request.rb', line 6

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

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



10
11
12
# File 'lib/telleroo/request.rb', line 10

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