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

- old
+ new

@@ -1,13 +1,12 @@ # frozen_string_literal: true -# --- inline_property_type.rb --- -require "shale" +require "lutaml/model" module Ogc module Gml - class InlineProperty < Shale::Mapper - attribute :owns, Shale::Type::Boolean, default: -> { "false" } + class InlineProperty < Lutaml::Model::Serializable + attribute :owns, :boolean, default: -> { false } xml do root "abstractInlineProperty" namespace "http://www.opengis.net/gml/3.2", "gml"