twingly / twingly-amqp

:bus: Ruby gem for RabbitMQ subscribing and publishing
0 stars 0 forks source link

Make connection class a singleton #17

Closed roback closed 8 years ago

roback commented 8 years ago

close #10

Took inspiration for the singleton pattern from http://stackoverflow.com/a/5259578

Todo

jage commented 8 years ago

Code looks good! I'll try this out in Imse and see if it works as expected, hang on.

jage commented 8 years ago

Doesn't work to just require twingly/amqp/subscriptionfor example. But with that fixed I think this can go in. Great work!

roback commented 8 years ago

Doesn't work to just require twingly/amqp/subscriptionfor example. But with that fixed I think this can go in. Great work!

Added that to the todo-list :)

jage commented 8 years ago

LGTM!