Module: Slideshare::Request
Class Method Summary collapse
-
.do_delete(path, options = {}) ⇒ Object
Perform an HTTP DELETE request.
- .do_get(path, options = {}) ⇒ Object
-
.do_post(path, options = {}) ⇒ Object
Perform an HTTP POST request.
-
.do_put(path, options = {}) ⇒ Object
Perform an HTTP PUT request.
Class Method Details
.do_delete(path, options = {}) ⇒ Object
Perform an HTTP DELETE request
22 23 24 |
# File 'lib/slideshare/request.rb', line 22 def self.do_delete(path, ={}) request(:delete, path, ) end |
.do_get(path, options = {}) ⇒ Object
7 8 9 |
# File 'lib/slideshare/request.rb', line 7 def self.do_get(path, ={}) request(:get, path, ) end |
.do_post(path, options = {}) ⇒ Object
Perform an HTTP POST request
12 13 14 |
# File 'lib/slideshare/request.rb', line 12 def self.do_post(path, ={}) request(:post, path, ) end |
.do_put(path, options = {}) ⇒ Object
Perform an HTTP PUT request
17 18 19 |
# File 'lib/slideshare/request.rb', line 17 def self.do_put(path, ={}) request(:put, path, ) end |