Class: Dtn::Messages::Catalog::SecurityTypes

Inherits:
MessageWithSimpleParser show all
Defined in:
lib/dtn/messages/catalog/security_types.rb

Overview

Security Types

Class Method Summary collapse

Methods inherited from MessageWithSimpleParser

parse, #termination?

Methods inherited from Dtn::Message

#callback_name, callback_name, parse

Class Method Details

.fieldsObject



9
10
11
12
13
14
15
# File 'lib/dtn/messages/catalog/security_types.rb', line 9

def fields
  @fields ||= {
    id: :to_i,
    name: :to_s,
    description: :to_s
  }
end