Class: Dtn::Messages::System::CustomerInfo
- Inherits:
-
MessageWithSimpleParser
- Object
- OpenStruct
- Dtn::Message
- MessageWithSimpleParser
- Dtn::Messages::System::CustomerInfo
- Defined in:
- lib/dtn/messages/system/customer_info.rb
Overview
Handle a customer information message.
Class Method Summary collapse
-
.fields ⇒ Object
rubocop:disable Metrics/MethodLength.
Methods inherited from MessageWithSimpleParser
Methods inherited from Dtn::Message
#callback_name, callback_name, parse
Class Method Details
.fields ⇒ Object
rubocop:disable Metrics/MethodLength
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/dtn/messages/system/customer_info.rb', line 10 def fields @fields ||= { svc_type: :to_s, ip_address: :to_s, port: :to_i, token: :to_s, version: :to_s, _unknown1: :to_s, rt_exchanges: :to_s, _unknown2: :to_s, max_symbols: :to_i, flags: :to_s, trial_ends: :to_s } end |