Sha256: c0c8b0529c70c244b9b6c1ccb0f5b23b7a2c722c9085a4fb35ea762656f0fd6c

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Ogc
  module Gml
    class Code < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :code_space, :string

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

        map_content to: :content
        map_attribute "codeSpace", to: :code_space
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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