Class: IoT::Effector
- Inherits:
-
Object
- Object
- IoT::Effector
- Defined in:
- lib/iot/effector.rb
Overview
Effector - a controlled physical device that performs some (useful) action
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Effector
constructor
A new instance of Effector.
- #model_name ⇒ Object
- #name ⇒ Object
Constructor Details
#initialize ⇒ Effector
Returns a new instance of Effector.
10 11 12 13 |
# File 'lib/iot/effector.rb', line 10 def initialize @model = 'N/A' @name = 'N/A' end |
Instance Method Details
#model_name ⇒ Object
19 20 21 |
# File 'lib/iot/effector.rb', line 19 def model_name @model end |
#name ⇒ Object
15 16 17 |
# File 'lib/iot/effector.rb', line 15 def name @name end |