Sha256: df6009bc1a8d957342903cb8f6950dfd509c45a54dea504c8fdef33789634298

Contents?: true

Size: 491 Bytes

Versions: 3

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Ogc
  module Gml
    class Formula < Lutaml::Model::Serializable
      attribute :a, :float
      attribute :b, :float
      attribute :c, :float
      attribute :d, :float

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

        map_element "a", to: :a
        map_element "b", to: :b
        map_element "c", to: :c
        map_element "d", to: :d
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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