Sha256: f61c36ee0bff25f819a80f846e8aa67ff100608026d26f90c8302c6d9bb601ef
Contents?: true
Size: 1.07 KB
Versions: 6
Compression:
Stored size: 1.07 KB
Contents
require_relative 'module_scope' module ADIWG module Mdtranslator module Readers module MdJson module DescriptiveResult def self.unpack(hResult, responseObj, inContext = nil) @MessagePath = ADIWG::Mdtranslator::Readers::MdJson::MdJson if hResult.empty? @MessagePath.issueWarning(80, responseObj, inContext) return nil end intMetadataClass = InternalMetadata.new intResult = intMetadataClass.newDescriptiveResult if hResult.has_key?('dateTime') intResult[:dateTime] = hResult['dateTime'] end if hResult.has_key?('scope') intResult[:scope] = Scope.unpack(hResult['scope'], responseObj) end if hResult.has_key?('name') intResult[:name] = hResult['name'] end if hResult.has_key?('statement') intResult[:statement] = hResult['statement'] end return intResult end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems