Sha256: 5134fd2fb7b338bc7d2578b2d632488e463472d56abc697d13db6e4cb991b28b

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Ogc
  module Gml
    class UnitOfMeasure < Lutaml::Model::Serializable
      attribute :uom, :string

      xml do
        root "unitOfMeasure"
        namespace "http://www.opengis.net/gml/3.2", "gml"

        map_attribute "uom", to: :uom
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ogc-gml-1.0.3 lib/ogc/gml/unit_of_measure.rb
ogc-gml-1.0.2 lib/ogc/gml/unit_of_measure.rb
ogc-gml-1.0.1 lib/ogc/gml/unit_of_measure.rb