Module: LendingClub::Request
Overview
Defines HTTP request methods
Instance Method Summary collapse
-
#get(path, options = {}) ⇒ Object
Perform an HTTP GET request.
-
#post(path, options = {}) ⇒ Object
Perform an HTTP POST request.
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, ={}) request(:get, path, ) end |
#post(path, options = {}) ⇒ Object
Perform an HTTP POST request
15 16 17 |
# File 'lib/lending_club/request.rb', line 15 def post(path, ={}) request(:post, path, ) end |