module Elastictastic::TransportMethods

Public Instance Methods

delete(path) click to toggle source
# File lib/elastictastic/transport_methods.rb, line 21
def delete(path)
  request(:delete, path)
end
get(path) click to toggle source
# File lib/elastictastic/transport_methods.rb, line 9
def get(path)
  request(:get, path)
end
head(path) click to toggle source
# File lib/elastictastic/transport_methods.rb, line 5
def head(path)
  request(:head, path)
end
post(path, body) click to toggle source
# File lib/elastictastic/transport_methods.rb, line 13
def post(path, body)
  request(:post, path, body)
end
put(path, body) click to toggle source
# File lib/elastictastic/transport_methods.rb, line 17
def put(path, body)
  request(:put, path, body)
end