Module: AngellistApi::Request
- Included in:
- API
- Defined in:
- lib/angellist_api/request.rb,
lib/angellist_api/request/gateway.rb,
lib/angellist_api/request/angellist_api_oauth.rb,
lib/angellist_api/request/multipart_with_file.rb
Overview
Defines HTTP request methods
Defined Under Namespace
Classes: AngellistApiOAuth, Gateway, MultipartWithFile
Instance Method Summary collapse
-
#delete(path, params = {}, options = {}) ⇒ Object
Perform an HTTP DELETE request.
-
#get(path, params = {}, options = {}) ⇒ Object
Perform an HTTP GET request.
- #post(path, params = {}, options = {}) ⇒ Object
Instance Method Details
#delete(path, params = {}, options = {}) ⇒ Object
Perform an HTTP DELETE request
5 6 7 |
# File 'lib/angellist_api/request.rb', line 5 def delete(path, params={}, ={}) request(:delete, path, params, ) end |
#get(path, params = {}, options = {}) ⇒ Object
Perform an HTTP GET request
10 11 12 |
# File 'lib/angellist_api/request.rb', line 10 def get(path, params={}, ={}) request(:get, path, params, ) end |
#post(path, params = {}, options = {}) ⇒ Object
14 15 16 |
# File 'lib/angellist_api/request.rb', line 14 def post(path, params={}, ={}) request(:post, path, params, ) end |