lib/ogc/gml/surface_array_property.rb in ogc-gml-1.0.0 vs lib/ogc/gml/surface_array_property.rb in ogc-gml-1.0.1

- old
+ new

@@ -1,15 +1,14 @@ # frozen_string_literal: true -# --- surface_array_property_type.rb --- -require "shale" +require "lutaml/model" require_relative "abstract_surface" module Ogc module Gml - class SurfaceArrayProperty < Shale::Mapper - attribute :owns, Shale::Type::Boolean, default: -> { "false" } + class SurfaceArrayProperty < Lutaml::Model::Serializable + attribute :owns, :boolean, default: -> { false } attribute :abstract_surface, AbstractSurface, collection: true xml do root "surfaceArrayProperty" namespace "http://www.opengis.net/gml/3.2", "gml"