Class: GerritEventRouter::Broker::AMQP::Config
- Inherits:
-
Config::Base
- Object
- Config::Base
- Config::Base
- GerritEventRouter::Broker::AMQP::Config
- Defined in:
- lib/ger/broker/amqp.rb
Instance Attribute Summary collapse
-
#exchange ⇒ Object
readonly
Returns the value of attribute exchange.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Attributes inherited from Config::Base
Attributes inherited from Config::Base
Instance Method Summary collapse
- #header ⇒ Object
-
#initialize(name, uri, mode, exchange) ⇒ Config
constructor
A new instance of Config.
Methods inherited from Config::Base
Constructor Details
#initialize(name, uri, mode, exchange) ⇒ Config
Returns a new instance of Config.
8 9 10 11 |
# File 'lib/ger/broker/amqp.rb', line 8 def initialize(name, uri, mode, exchange) super(name, uri, mode) @exchange = exchange end |
Instance Attribute Details
#exchange ⇒ Object (readonly)
Returns the value of attribute exchange.
17 18 19 |
# File 'lib/ger/broker/amqp.rb', line 17 def exchange @exchange end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
17 18 19 |
# File 'lib/ger/broker/amqp.rb', line 17 def user @user end |