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

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={}, options={})
  request(:delete, path, params, options)
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={}, options={})
  request(:get, path, params, options)
end

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



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

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