Sha256: ed101d07cdf86b6a773a85ded51798ec7ed3fa177d97fbbfef327db5ca8e8ce1

Contents?: true

Size: 673 Bytes

Versions: 4

Compression:

Stored size: 673 Bytes

Contents

# mdJson 2.0 writer - dataQuality

require 'jbuilder'
require_relative 'mdJson_scope'
require_relative 'mdJson_dataQualityReport'

module ADIWG
  module Mdtranslator
    module Writers
      module MdJson

        module DataQuality

          @Namespace = ADIWG::Mdtranslator::Writers::MdJson

          def self.build(hDataQuality)
            Jbuilder.new do |json|
              json.scope Scope.build(hDataQuality[:scope])
              json.standaloneQualityReport hDataQuality[:standaloneQualityReport]
              json.report @Namespace.json_map(hDataQuality[:report], DataQualityReport)
            end

          end

        end

      end
    end
  end
end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.18.0rc7 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.0rc6 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.0rc5 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb
adiwg-mdtranslator-2.18.0rc4 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_dataQuality.rb