Class: SDN::Message::SimpleRequest
- Inherits:
-
SDN::Message
- Object
- SDN::Message
- SDN::Message::SimpleRequest
- Defined in:
- lib/sdn/message.rb
Direct Known Subclasses
Ack, GetMotorDirection, GetMotorLimits, GetMotorPosition, GetMotorRollingSpeed, GetMotorStatus, GetNetworkLock, GetNodeAppVersion, GetNodeLabel, GetNodeSerialNumber, GetNodeStackVersion, ILT2::GetIRConfig, ILT2::GetLockStatus, ILT2::GetMotorPosition, ILT2::GetMotorSettings, Wink
Constant Summary collapse
- PARAMS_LENGTH =
0
Instance Attribute Summary
Attributes inherited from SDN::Message
#ack_requested, #dest, #node_type, #src
Instance Method Summary collapse
-
#initialize(dest = nil, **kwargs) ⇒ SimpleRequest
constructor
A new instance of SimpleRequest.
Methods inherited from SDN::Message
#==, #class_inspect, expected_response?, inherited, #inspect, #parse, parse, #serialize
Methods included from Helpers
#checksum, #from_number, #from_string, #is_group_address?, #node_type_from_number, #node_type_to_number, #node_type_to_string, #parse_address, #print_address, #to_number, #to_string, #transform_param
Constructor Details
#initialize(dest = nil, **kwargs) ⇒ SimpleRequest
131 132 133 134 |
# File 'lib/sdn/message.rb', line 131 def initialize(dest = nil, **kwargs) kwargs[:dest] ||= dest super(**kwargs) end |