class LaGear::SneakersConfigurer
Public Class Methods
configure_bi_amqp_endpoints(rx_uri_str, tx_uri_str)
click to toggle source
# File lib/la_gear/sneakers_configurer.rb, line 4 def configure_bi_amqp_endpoints(rx_uri_str, tx_uri_str) parser = UriParser.new(rx_uri_str) ::Sneakers.configure( amqp: parser.amqp, vhost: parser.vhost ) parser = UriParser.new(tx_uri_str) ::Sneakers.configure( amqp_publish: parser.amqp, vhost_publish: parser.vhost ) end