Class: Hoze::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/hoze/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_ackObject

Returns the value of attribute auto_ack.



6
7
8
# File 'lib/hoze/configuration.rb', line 6

def auto_ack
  @auto_ack
end

#channelObject

Returns the value of attribute channel.



6
7
8
# File 'lib/hoze/configuration.rb', line 6

def channel
  @channel
end

#connectorObject

Returns the value of attribute connector.



6
7
8
# File 'lib/hoze/configuration.rb', line 6

def connector
  @connector
end

#keyObject

Returns the value of attribute key.



6
7
8
# File 'lib/hoze/configuration.rb', line 6

def key
  @key
end

#max_triesObject

Returns the value of attribute max_tries.



6
7
8
# File 'lib/hoze/configuration.rb', line 6

def max_tries
  @max_tries
end