Sha256: 6e7705e256dbf405eada66c096e90da701f9ca9f65581ab6575afe2ed8721487

Contents?: true

Size: 402 Bytes

Versions: 7

Compression:

Stored size: 402 Bytes

Contents

require "lutaml/lutaml_path/document_wrapper"
require "lutaml/express/lutaml_path/formatter"

module Lutaml
  module Express
    module LutamlPath
      class DocumentWrapper < ::Lutaml::LutamlPath::DocumentWrapper
        protected

        def serialize_document(repository)
          repository
            .to_hash(formatter: Formatter, include_empty: true)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lutaml-0.7.5 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.7.4 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.7.3 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.7.2 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.7.1 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.7.0 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.6.1 lib/lutaml/express/lutaml_path/document_wrapper.rb