Packages

A DSL-free Elasticsearch client written in Elixir.

Current section

Files

Jump to
rubber lib rubber.ex
Raw

lib/rubber.ex

defmodule Rubber do
@moduledoc """
A module that provides a simple Interface to communicate with
an Elastic server via REST.
"""
@doc false
def start do
:application.ensure_all_started(:rubber)
end
@doc false
def config, do: Application.get_all_env(:rubber)
@doc false
def config(key, default \\ nil),
do: Application.get_env(:rubber, key, default)
end