Class: QuelinkMg::Resp::Gtver
Constant Summary collapse
- GTVER_RESP_KEYS =
%w[protocol_version unique_id device_name device_type firmware_version hardware_version reserved modem_hardware_version modem_software_version 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
9 10 11 |
# File 'lib/quelink-mg/resp/gtver.rb', line 9 def hash unify_keys(GTVER_RESP_KEYS.zip(@response.split(',')).to_h, true) end |