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

- old
+ new

@@ -1,14 +1,13 @@ # frozen_string_literal: true -# --- code_type.rb --- -require "shale" +require "lutaml/model" module Ogc module Gml - class Code < Shale::Mapper - attribute :content, Shale::Type::String - attribute :code_space, Shale::Type::Value + 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"