Module: Swiftype::Request

Included in:
BaseModel, Connection
Defined in:
lib/swiftype/request.rb

Instance Method Summary collapse

Instance Method Details

#delete(path, params = {}, options = {}) ⇒ Object



7
8
9
# File 'lib/swiftype/request.rb', line 7

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

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



3
4
5
# File 'lib/swiftype/request.rb', line 3

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

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



11
12
13
# File 'lib/swiftype/request.rb', line 11

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

#put(path, params = {}, options = {}) ⇒ Object



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

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