Class: Rabbitek::BunnyConnection

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbitek/bunny_connection.rb

Overview

Bunny connection setup

Class Method Summary collapse

Class Method Details

.initialize_connectionObject



7
8
9
10
11
# File 'lib/rabbitek/bunny_connection.rb', line 7

def self.initialize_connection
  connection = Bunny.new(Rabbitek.config.bunny_configuration)
  connection.start
  connection
end