Class: Zombees::HoneyComb
- Inherits:
-
Object
- Object
- Zombees::HoneyComb
- Defined in:
- lib/zombees/honey_comb.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #connection ⇒ Object
-
#initialize(config) ⇒ HoneyComb
constructor
A new instance of HoneyComb.
- #worker ⇒ Object
Constructor Details
#initialize(config) ⇒ HoneyComb
Returns a new instance of HoneyComb.
13 14 15 16 |
# File 'lib/zombees/honey_comb.rb', line 13 def initialize(config) @config = config Connection.import_key_pair(config) end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
7 8 9 |
# File 'lib/zombees/honey_comb.rb', line 7 def config @config end |
Instance Method Details
#connection ⇒ Object
18 19 20 |
# File 'lib/zombees/honey_comb.rb', line 18 def connection Connection.new(config) end |