class Elastictastic::Middleware::Base

Public Class Methods

new(connection) click to toggle source
# File lib/elastictastic/middleware.rb, line 11
def initialize(connection)
  @connection = connection
end

Public Instance Methods

request(method, path, body = nil) click to toggle source
# File lib/elastictastic/middleware.rb, line 15
def request(method, path, body = nil)
  @connection.request(method, path, body)
end