Sha256: 0400922d1bbe27e746d49f11eb78b933538812369436a18f567d289d62e33f88
Contents?: true
Size: 767 Bytes
Versions: 15
Compression:
Stored size: 767 Bytes
Contents
# mdJson 2.0 writer - allocation # History: # Stan Smith 2017-03-20 original script require 'jbuilder' module ADIWG module Mdtranslator module Writers module MdJson module Allocation def self.build(hAllocation) Jbuilder.new do |json| json.amount hAllocation[:amount] json.currency hAllocation[:currency] json.sourceId hAllocation[:sourceId] json.recipientId hAllocation[:recipientId] json.matching hAllocation[:matching] json.comment hAllocation[:comment] end end # build end # Allocation end end end end
Version data entries
15 entries across 15 versions & 1 rubygems