Sha256: 4f84476d3f46fa3b9504357508d2d94fdfd15b0ca8c0c49d204d8cb9bfdda01c

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

module AMQP
	%w[ spec buffer protocol frame client ].each do |file|
    require "amqp/#{file}"
  end

	# return messages
	CONNECTED = 'CONNECTED'
	NOT_CONNECTED = 'NOT CONNECTED'
	QUEUE_EMPTY = 'QUEUE EMPTY'
	QUEUE_DELETED = 'QUEUE DELETED'
	EXCHANGE_DELETED = 'EXCHANGE DELETED'
	BIND_SUCCEEDED = 'BIND SUCCEEDED'
	UNBIND_SUCCEEDED = 'UNBIND SUCCEEDED'

	# specific error definitions
	class ProtocolError < StandardError; end
	class ServerDownError < StandardError; end
	class BufferOverflowError < StandardError; end
  class InvalidTypeError < StandardError; end
	class ConnectionError < StandardError; end
	class MessageError < StandardError; end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
celldee-bunny-0.1.1 lib/amqp.rb
bunny-0.1.1 lib/amqp.rb