Class: Queight::RabbitMQConfig
- Inherits:
-
URIConfig::Config
- Object
- URIConfig::Config
- Queight::RabbitMQConfig
- Defined in:
- lib/queight/rabbitmq_config.rb
Instance Method Summary collapse
Instance Method Details
#size ⇒ Object
8 9 10 |
# File 'lib/queight/rabbitmq_config.rb', line 8 def size query["size"].map(&:to_i).last end |
#vhost ⇒ Object
12 13 14 15 16 |
# File 'lib/queight/rabbitmq_config.rb', line 12 def vhost return "/" if path.empty? URI.decode path[1..-1] end |