Sha256: 7e3d124b8c53e96950ddc456f5016e230bd32abf547c820d6db9b9b8df3ff670

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Rfcxml
  module V3
    class Format < Lutaml::Model::Serializable
      attribute :target, :string
      attribute :type, :string
      attribute :octets, :string

      xml do
        root "format"

        map_attribute "target", to: :target
        map_attribute "type", to: :type
        map_attribute "octets", to: :octets
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rfcxml-0.2.0 lib/rfcxml/v3/format.rb