Class: GerritEventRouter::Broker::Config::Base

Inherits:
Config::Base
  • Object
show all
Defined in:
lib/ger/broker.rb

Direct Known Subclasses

AMQP::Config

Instance Attribute Summary collapse

Attributes inherited from Config::Base

#name, #uri

Instance Method Summary collapse

Methods inherited from Config::Base

#initiallize

Constructor Details

#initialize(name, uri, mode) ⇒ Base

Returns a new instance of Base.



21
22
23
24
# File 'lib/ger/broker.rb', line 21

def initialize(name, uri, mode)
  super(name, uri)
  @mode = mode || "normal"
end

Instance Attribute Details

#modeObject (readonly)

Returns the value of attribute mode.



26
27
28
# File 'lib/ger/broker.rb', line 26

def mode
  @mode
end