Class: QuelinkMg::Ack::Gtrto
Constant Summary collapse
- GTRTO_ACK_KEYS =
%w[protocol_version unique_id device_name sub_command serial_number send_time count_number].freeze
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from QuelinkMg::Ack::Base
Instance Method Details
#hash ⇒ Object
9 10 11 |
# File 'lib/quelink-mg/ack/gtrto.rb', line 9 def hash unify_keys(GTRTO_ACK_KEYS.zip(@response.split(',')).to_h) end |