Class: MEACControl::Command::FanSpeed
- Inherits:
-
Generic
- Object
- Generic
- MEACControl::Command::FanSpeed
show all
- Defined in:
- lib/meac_control/command/fan_speed.rb
Instance Attribute Summary
Attributes inherited from Generic
#command, #value
Instance Method Summary
collapse
Methods inherited from Generic
#command_set?, #hash_for, request
Constructor Details
Returns a new instance of FanSpeed.
7
8
9
|
# File 'lib/meac_control/command/fan_speed.rb', line 7
def initialize
@command = 'FanSpeed'
end
|
Instance Method Details
#auto ⇒ Object
27
28
29
|
# File 'lib/meac_control/command/fan_speed.rb', line 27
def auto
@value = 'auto'
end
|
#high ⇒ Object
23
24
25
|
# File 'lib/meac_control/command/fan_speed.rb', line 23
def high
@value = 'high'
end
|
#low ⇒ Object
11
12
13
|
# File 'lib/meac_control/command/fan_speed.rb', line 11
def low
@value = 'low'
end
|
#mid1 ⇒ Object
15
16
17
|
# File 'lib/meac_control/command/fan_speed.rb', line 15
def mid1
@value = 'mid1'
end
|
#mid2 ⇒ Object
19
20
21
|
# File 'lib/meac_control/command/fan_speed.rb', line 19
def mid2
@value = 'mid2'
end
|