Class: QuelinkMg::Resp::Gtupd
Constant Summary collapse
- GTUPD_RESP_KEYS =
%w[protocol_version unique_id device_name code reserved 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::Resp::Base
Instance Method Details
#hash ⇒ Object
8 9 10 |
# File 'lib/quelink-mg/resp/gtupd.rb', line 8 def hash unify_keys(GTUPD_RESP_KEYS.zip(@response.split(',')).to_h) end |