Module: Surveygizmo::Request
- Included in:
- API
- Defined in:
- lib/surveygizmo/request.rb
Overview
Defines HTTP request methods
Instance Method Summary (collapse)
-
- (Object) get(path, options = {})
Perform an HTTP GET request.
- - (Object) post(path, options = {}, temp_api_endpoint = nil)
Instance Method Details
- (Object) get(path, options = {})
Perform an HTTP GET request
6 7 8 |
# File 'lib/surveygizmo/request.rb', line 6 def get(path, ={}) request(:get, path, ) end |
- (Object) post(path, options = {}, temp_api_endpoint = nil)
10 11 12 |
# File 'lib/surveygizmo/request.rb', line 10 def post(path, ={}, temp_api_endpoint=nil) request(:post, path, , temp_api_endpoint) end |