Module: LendingClub::Request

Includes:
Connection
Included in:
API
Defined in:
lib/lending_club/request.rb

Overview

Defines HTTP request methods

Instance Method Summary collapse

Instance Method Details

#get(path, options = {}) ⇒ Object

Perform an HTTP GET request



10
11
12
# File 'lib/lending_club/request.rb', line 10

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

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

Perform an HTTP POST request



15
16
17
# File 'lib/lending_club/request.rb', line 15

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