module ADIWG::Mdtranslator::Writers::MdJson::EvaluationMethod

Public Class Methods

build(hMethod) click to toggle source
# File lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_evaluationMethod.rb, line 13
def self.build(hMethod)
  Jbuilder.new do |json|
    json.type hMethod[:type]
    json.dateTime hMethod[:dateTime]
    json.methodDescription hMethod[:methodDescription]
    json.evaluationProcedure Citation.build(hMethod[:evaluationProcedure])
    json.referenceDocument @Namespace.json_map(hMethod[:referenceDocument], Citation)
    json.evaluationMethodType hMethod[:evaluationMethodType]
    json.deductiveSource hMethod[:deductiveSource]
    json.samplingScheme hMethod[:samplingScheme]
    json.lotDescription hMethod[:lotDescription]
    json.samplingRatio hMethod[:samplingRatio]
  end
end