module Eventum

Ruby client for the Event Store API

Constants

MAJOR

Major release version describes incompatible API changes

@return [Integer]

MINOR

Minor release version describes new backwards-compatible functionality

@return [Integer]

PATCH

Patch release version describes backwards-compatible bug fixes

@return [Integer]

VERSION

Full release version that follows Semantic Versioning 2.0.0

@return [String]

Public Class Methods

new() { |client| ... } click to toggle source

Alias for {Eventum::Client.new} using module configurations

@yield [Eventum::Client]

A configurable object

@example

Eventum.new do |config|
  config.adapter = :excon
  config.host = "http://localhost"
  config.port = 2121
end

@return [Eventum::Client]

@api public

# File lib/eventum.rb, line 29
def new
  client = Eventum::Client.new do |config|
    config.adapter = adapter
    config.host = host
    config.port = port
  end

  yield client if block_given?

  client
end