Sha256: 81ca1cd66a8cc3f4fa8e12d989c108a2295480c625e336de145a911b72327602

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Ogc
  module Gml
    class Boolean < Lutaml::Model::Serializable
      attribute :content, :boolean
      attribute :nil_reason, :string

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

        map_content to: :content
        map_attribute "nilReason", to: :nil_reason
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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