Sha256: 6c504ca18a9bdb598e57c0565572644e05d16db1e72fad02fa79813909d14941
Contents?: true
Size: 994 Bytes
Versions: 17
Compression:
Stored size: 994 Bytes
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?('statement') intResult[:statement] = hResult['statement'] end return intResult end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems