Sha256: 1b44ebbe109885a918ac5392e3a971fd8ce8b3a10997fd73cf8e119c0564024b
Contents?: true
Size: 753 Bytes
Versions: 15
Compression:
Stored size: 753 Bytes
Contents
# mdJson 2.0 writer - funding # History: # Stan Smith 2017-03-20 original script require 'jbuilder' require_relative 'mdJson_allocation' require_relative 'mdJson_timePeriod' module ADIWG module Mdtranslator module Writers module MdJson module Funding @Namespace = ADIWG::Mdtranslator::Writers::MdJson def self.build(hFunding) Jbuilder.new do |json| json.allocation @Namespace.json_map(hFunding[:allocations], Allocation) json.timePeriod TimePeriod.build(hFunding[:timePeriod]) unless hFunding[:timePeriod].empty? end end # build end # Funding end end end end
Version data entries
15 entries across 15 versions & 1 rubygems