Class: Hoze::Configuration
- Inherits:
-
Object
- Object
- Hoze::Configuration
- Defined in:
- lib/hoze/configuration.rb
Instance Attribute Summary collapse
-
#auto_ack ⇒ Object
Returns the value of attribute auto_ack.
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#connector ⇒ Object
Returns the value of attribute connector.
-
#key ⇒ Object
Returns the value of attribute key.
-
#max_tries ⇒ Object
Returns the value of attribute max_tries.
Instance Method Summary collapse
-
#initialize(prefix = nil) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(prefix = nil) ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/hoze/configuration.rb', line 8 def initialize prefix = nil @connector = ConnectorConfiguration.new prefix @prefix = prefix end |
Instance Attribute Details
#auto_ack ⇒ Object
Returns the value of attribute auto_ack.
6 7 8 |
# File 'lib/hoze/configuration.rb', line 6 def auto_ack @auto_ack end |
#channel ⇒ Object
Returns the value of attribute channel.
6 7 8 |
# File 'lib/hoze/configuration.rb', line 6 def channel @channel end |
#connector ⇒ Object
Returns the value of attribute connector.
6 7 8 |
# File 'lib/hoze/configuration.rb', line 6 def connector @connector end |
#key ⇒ Object
Returns the value of attribute key.
6 7 8 |
# File 'lib/hoze/configuration.rb', line 6 def key @key end |
#max_tries ⇒ Object
Returns the value of attribute max_tries.
6 7 8 |
# File 'lib/hoze/configuration.rb', line 6 def max_tries @max_tries end |