Sha256: aea3db5c876696fd9431cb8ef80a7857191ef38236b3259a36656b1458dd705d

Contents?: true

Size: 665 Bytes

Versions: 1

Compression:

Stored size: 665 Bytes

Contents

# frozen_string_literal: true

require 'bunny'

# Top level namespace for CottonTail
module CottonTail
  autoload :App, 'cotton_tail/app'
  autoload :Configuration, 'cotton_tail/configuration'
  autoload :DSL, 'cotton_tail/dsl'
  autoload :Middleware, 'cotton_tail/middleware'
  autoload :Queue, 'cotton_tail/queue'
  autoload :Router, 'cotton_tail/router'
  autoload :Version, 'cotton_tail/version'

  # Message is a struct for working with the messages that are passed through
  # the middleware stack.
  Message = Struct.new(:app, :routing_key, :delivery_info, :properties,
                       :payload)

  class UndefinedRouteError < StandardError
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cotton-tail-0.3.0 lib/cotton_tail.rb