Sha256: 05c1c1c6f5a3ef516ca6e331b4449166caeb7aee8505eb35c8615f738bccbbf4
Contents?: true
Size: 1.51 KB
Versions: 6
Compression:
Stored size: 1.51 KB
Contents
require_relative 'module_scope' require_relative 'module_citation' module ADIWG module Mdtranslator module Readers module MdJson module ConformanceResult def self.unpack(hConformanceResult, responseObj) intMetadataClass = InternalMetadata.new intConformanceResult = intMetadataClass.newConformanceResult # dateTime if hConformanceResult.has_key?('dateTime') intConformanceResult[:dateTime] = hConformanceResult['dateTime'] end # scope if hConformanceResult.has_key?('scope') intConformanceResult[:scope] = Scope.unpack(hConformanceResult['scope'], responseObj) end # name if hConformanceResult.has_key?('name') intConformanceResult[:name] = hConformanceResult['name'] end #specification if hConformanceResult.has_key?('specification') intConformanceResult[:specification] = Citation.unpack(hConformanceResult['specification'], responseObj) end # explanation if hConformanceResult.has_key?('explanation') intConformanceResult[:explanation] = hConformanceResult['explanation'] end # pass if hConformanceResult.has_key?('pass') intConformanceResult[:pass] = hConformanceResult['pass'] end return intConformanceResult end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems