Sha256: d513c3eaa1202d4f34508665cf731aedce711a2a3f355af4e885a1a460c9a842

Contents?: true

Size: 500 Bytes

Versions: 28

Compression:

Stored size: 500 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
        attr_accessor :select_proc

        protected

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
lutaml-0.9.5 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.9.4 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.9.3 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.9.2 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.9.1 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.9.0 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.8.1 lib/lutaml/express/lutaml_path/document_wrapper.rb
lutaml-0.8.0 lib/lutaml/express/lutaml_path/document_wrapper.rb