Class: Euston::RabbitMq::HandlerReference

Inherits:
Object
  • Object
show all
Defined in:
lib/euston-rabbitmq/reflection/handler_reference.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace, handler, name) ⇒ HandlerReference

Returns a new instance of HandlerReference.



4
5
6
# File 'lib/euston-rabbitmq/reflection/handler_reference.rb', line 4

def initialize namespace, handler, name
  @namespace, @handler, @name = namespace, handler, name
end

Instance Attribute Details

#handlerObject (readonly)

Returns the value of attribute handler.



8
9
10
# File 'lib/euston-rabbitmq/reflection/handler_reference.rb', line 8

def handler
  @handler
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/euston-rabbitmq/reflection/handler_reference.rb', line 8

def name
  @name
end

#namespaceObject (readonly)

Returns the value of attribute namespace.



8
9
10
# File 'lib/euston-rabbitmq/reflection/handler_reference.rb', line 8

def namespace
  @namespace
end