Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanAkbar committed Sep 24, 2024
1 parent 40cfe59 commit 387be04
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spec/lutaml/model/xml_mapping_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ class Paragraph < Lutaml::Model::Serializable
end

module XmlMapping
class Address < Lutaml::Model::Serializable
attribute :street, ::Lutaml::Model::Type::String, raw: true
attribute :city, :string, raw: true
attribute :address, Address

xml do
root "address"

map_element "street", to: :street
map_element "city", to: :city
end
end

class ChildNamespaceNil < Lutaml::Model::Serializable
attribute :element_default_namespace, :string
attribute :element_nil_namespace, :string
Expand Down

0 comments on commit 387be04

Please sign in to comment.