Module: Swiftype::Request
- Included in:
- BaseModel, Connection
- Defined in:
- lib/swiftype/request.rb
Instance Method Summary collapse
- #delete(path, params = {}, options = {}) ⇒ Object
- #get(path, params = {}, options = {}) ⇒ Object
- #post(path, params = {}, options = {}) ⇒ Object
- #put(path, params = {}, options = {}) ⇒ Object
Instance Method Details
#delete(path, params = {}, options = {}) ⇒ Object
7 8 9 |
# File 'lib/swiftype/request.rb', line 7 def delete(path, params={}, ={}) request(:delete, path, params, ) end |
#get(path, params = {}, options = {}) ⇒ Object
3 4 5 |
# File 'lib/swiftype/request.rb', line 3 def get(path, params={}, ={}) request(:get, path, params, ) end |
#post(path, params = {}, options = {}) ⇒ Object
11 12 13 |
# File 'lib/swiftype/request.rb', line 11 def post(path, params={}, ={}) request(:post, path, params, ) end |
#put(path, params = {}, options = {}) ⇒ Object
15 16 17 |
# File 'lib/swiftype/request.rb', line 15 def put(path, params={}, ={}) request(:put, path, params, ) end |