Module: Fritzbox::Smarthome
- Defined in:
- lib/fritzbox/smarthome.rb,
lib/fritzbox/smarthome/actor.rb,
lib/fritzbox/smarthome/heater.rb,
lib/fritzbox/smarthome/switch.rb,
lib/fritzbox/smarthome/session.rb,
lib/fritzbox/smarthome/version.rb,
lib/fritzbox/smarthome/resource.rb,
lib/fritzbox/smarthome/lightbulb.rb,
lib/fritzbox/smarthome/properties.rb,
lib/fritzbox/smarthome/null_logger.rb,
lib/fritzbox/smarthome/smoke_detector.rb,
lib/fritzbox/smarthome/properties/simple_on_off.rb
Defined Under Namespace
Modules: Properties Classes: Actor, Configuration, Heater, Lightbulb, NullLogger, Resource, Session, SmokeDetector, Switch
Constant Summary collapse
- VERSION =
'0.8.0'.freeze
Class Attribute Summary collapse
-
.config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object (readonly)
Returns the value of attribute config.
43 44 45 |
# File 'lib/fritzbox/smarthome.rb', line 43 def config @config end |
Class Method Details
.configure(&block) ⇒ Object
39 40 41 |
# File 'lib/fritzbox/smarthome.rb', line 39 def configure(&block) block.yield(@config) end |