Sha256: a46faa146b954ea376115cbd703836ab5a7761708bd4db7d926d4240e39e3c66

Contents?: true

Size: 574 Bytes

Versions: 17

Compression:

Stored size: 574 Bytes

Contents

require 'jbuilder'
require_relative 'mdJson_scope'

module ADIWG
  module Mdtranslator
    module Writers
      module MdJson

        module QuantitativeResult
          def self.build(hResult)
            Jbuilder.new do |json|
              json.dateTime hResult[:dateTime]
              json.scope Scope.build(hResult[:scope]) if hResult[:scope]
              json.value hResult[:value]
              json.valueUnits hResult[:valueUnits]
              json.valueRecordType hResult[:valueRecordType]
            end
          end
        end

      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
adiwg-mdtranslator-2.19.0.pre.beta.13 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.19.0.pre.beta.12 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.19.0.pre.beta.11 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.19.0.pre.beta.10 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.19.0.pre.beta.9 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.19.0.pre.beta.8 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.19.0.pre.beta.7 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.4 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.2 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.1 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0rc9 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0rc8 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0rc7 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0rc6 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0rc5 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb
adiwg-mdtranslator-2.18.0rc4 lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_quantitativeResult.rb