Module: Lagomorph

Defined in:
lib/lagomorph.rb,
lib/lagomorph/worker.rb,
lib/lagomorph/session.rb,
lib/lagomorph/version.rb,
lib/lagomorph/rpc_call.rb,
lib/lagomorph/exceptions.rb,
lib/lagomorph/subscriber.rb,
lib/lagomorph/supervisor.rb,
lib/lagomorph/json_parser.rb,
lib/lagomorph/queue_adapter.rb,
lib/lagomorph/queue_builder.rb,
lib/lagomorph/metadata_adapter.rb

Defined Under Namespace

Classes: Exception, JsonParser, MetadataAdapter, QueueAdapter, QueueBuilder, RpcCall, RpcError, Session, Subscriber, Supervisor, Worker

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

.using_bunny?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/lagomorph.rb', line 10

def self.using_bunny?
  using? 'bunny'
end

.using_march_hare?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/lagomorph.rb', line 5

def self.using_march_hare?
  using? 'march_hare'
end