Module: Huey

Extended by:
Huey
Included in:
Huey
Defined in:
lib/huey/config.rb,
lib/huey.rb,
lib/huey/bulb.rb,
lib/huey/ssdp.rb,
lib/huey/event.rb,
lib/huey/group.rb,
lib/huey/errors.rb,
lib/huey/portal.rb,
lib/huey/request.rb,
lib/huey/version.rb,
lib/huey/ssdp/searcher.rb,
lib/huey/config/options.rb

Overview

Shamelessly stolen from Mongoid! And Dynamoid…

Defined Under Namespace

Modules: Config, Errors, Portal, SSDP Classes: Bulb, Event, Group, Request

Constant Summary collapse

VERSION =
"2.1.0"

Instance Method Summary collapse

Instance Method Details

#configureObject Also known as: config



25
26
27
# File 'lib/huey.rb', line 25

def configure
  block_given? ? yield(Huey::Config) : Huey::Config
end

#loggerObject



30
31
32
# File 'lib/huey.rb', line 30

def logger
  Huey::Config.logger
end