Module: OpenAmplify::Request
- Included in:
- Client
- Defined in:
- lib/openamplify/request.rb
Overview
Handless HTTP requests
Instance Method Summary collapse
Instance Method Details
#get(path, params = {}, options = {}) ⇒ Object
7 8 9 |
# File 'lib/openamplify/request.rb', line 7 def get(path, params={}, ={}) request(:get, path, params, ) end |
#post(path, params = {}, options = {}) ⇒ Object
11 12 13 |
# File 'lib/openamplify/request.rb', line 11 def post(path, params={}, ={}) request(:post, path, params, ) end |