Class: Rabbithole::Connection::Settings
- Inherits:
-
Settingslogic
- Object
- Settingslogic
- Rabbithole::Connection::Settings
- Defined in:
- lib/rabbithole/connection.rb
Instance Method Summary collapse
-
#to_ary ⇒ Object
Fix rspec integration error.
- #to_url ⇒ Object
Instance Method Details
#to_ary ⇒ Object
Fix rspec integration error
59 60 61 |
# File 'lib/rabbithole/connection.rb', line 59 def to_ary to_a end |
#to_url ⇒ Object
54 55 56 |
# File 'lib/rabbithole/connection.rb', line 54 def to_url "amqp://#{user}:#{password}@#{host}:#{port}/#{vhost.gsub('/', '%2F')}" end |