grantr/rubberband

View on GitHub
lib/elasticsearch.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'rubygems'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "elasticsearch"))

require 'encoding'
require 'transport'
require 'client'

module ElasticSearch

  def self.new(servers_or_url, options={}, &block)
    ElasticSearch::Client.new(servers_or_url, options, &block)
  end
end