Module: Telleroo::Request
- Included in:
- Client
- Defined in:
- lib/telleroo/request.rb
Overview
Handles HTTP requests
Instance Method Summary collapse
- #delete(path, params = {}, options = {}) ⇒ Object
- #get(path, params = {}, options = {}) ⇒ Object
- #post(path, params = {}, options = {}) ⇒ Object
Instance Method Details
#delete(path, params = {}, options = {}) ⇒ Object
14 15 16 |
# File 'lib/telleroo/request.rb', line 14 def delete(path, params = {}, = {}) request(:delete, path, params, ) end |
#get(path, params = {}, options = {}) ⇒ Object
6 7 8 |
# File 'lib/telleroo/request.rb', line 6 def get(path, params = {}, = {}) request(:get, path, params, ) end |
#post(path, params = {}, options = {}) ⇒ Object
10 11 12 |
# File 'lib/telleroo/request.rb', line 10 def post(path, params = {}, = {}) request(:post, path, params, ) end |