lib/dtn/messages/catalog/listed_markets.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Dtn
  module Messages
    module Catalog
      # Listed Markets
      class ListedMarkets < MessageWithSimpleParser
        class << self
          def fields
            @fields ||= {
              id: :to_i,
              name: :to_s,
              description: :to_s
            }
          end
        end
      end
    end
  end
end