Class: IoT::Effector
- Inherits:
-
Object
show all
- Defined in:
- lib/iot/effector.rb
Overview
Effector - a controlled physical device that performs some (useful) action
Instance Method Summary
collapse
Constructor Details
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
|