lib/ogc/gml/abstract_curve_segment.rb in ogc-gml-1.0.0 vs lib/ogc/gml/abstract_curve_segment.rb in ogc-gml-1.0.1
- old
+ new
@@ -1,15 +1,14 @@
# frozen_string_literal: true
-# --- abstract_curve_segment_type.rb ---
-require "shale"
+require "lutaml/model"
module Ogc
module Gml
- class AbstractCurveSegment < Shale::Mapper
- attribute :num_derivatives_at_start, Shale::Type::Integer#, default: -> { "0" }
- attribute :num_derivatives_at_end, Shale::Type::Integer#, default: -> { "0" }
- attribute :num_derivative_interior, Shale::Type::Integer#, default: -> { "0" }
+ class AbstractCurveSegment < Lutaml::Model::Serializable
+ attribute :num_derivatives_at_start, :integer # , default: -> { "0" }
+ attribute :num_derivatives_at_end, :integer # , default: -> { "0" }
+ attribute :num_derivative_interior, :integer # , default: -> { "0" }
xml do
root "AbstractCurveSegment"
namespace "http://www.opengis.net/gml/3.2", "gml"