Sha256: ade8b29179472a4cf061992baebfe0f01e9d867813607c7aecc9aa0ade7c93e7
Contents?: true
Size: 970 Bytes
Versions: 6
Compression:
Stored size: 970 Bytes
Contents
require 'jbuilder' require_relative 'mdJson_scope' require_relative 'mdJson_citation' module ADIWG module Mdtranslator module Writers module MdJson module ConformanceResult def self.build(hConformanceResult) Jbuilder.new do |json| json.dateTime hConformanceResult[:dateTime] unless hConformanceResult[:dateTime].nil? json.scope Scope.build(hConformanceResult[:scope]) unless hConformanceResult[:scope].empty? json.name hConformanceResult[:name] unless hConformanceResult[:name].nil? json.specification Citation.build(hConformanceResult[:specification]) unless hConformanceResult[:specification].empty? json.explanation hConformanceResult[:explanation] unless hConformanceResult[:explanation].nil? json.pass hConformanceResult[:pass] unless hConformanceResult[:pass].nil? end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems