Module: MadMimi::Request
Overview
Defines HTTP request methods
Instance Method Summary collapse
- #get(path, options = {}, raw = false) ⇒ Object
- #post(path, options = {}, raw = false, ssl = false) ⇒ Object
Instance Method Details
#get(path, options = {}, raw = false) ⇒ Object
7 8 9 |
# File 'lib/mad_mimi/request.rb', line 7 def get(path, ={}, raw = false) request(:get, path, , raw) end |
#post(path, options = {}, raw = false, ssl = false) ⇒ Object
11 12 13 |
# File 'lib/mad_mimi/request.rb', line 11 def post(path, ={}, raw = false, ssl = false) request(:post, path, , raw, ssl) end |