Sha256: 5e0db503b0089e0d5e82e25262144652734f1275615b99dc6438ed7f564471fb
Contents?: true
Size: 713 Bytes
Versions: 57
Compression:
Stored size: 713 Bytes
Contents
# mdJson 2.0 writer - legal constraint # History: # Stan Smith 2017-03-17 original script require 'jbuilder' module ADIWG module Mdtranslator module Writers module MdJson module LegalConstraint def self.build(hLegal) Jbuilder.new do |json| json.useConstraint hLegal[:useCodes] unless hLegal[:useCodes].empty? json.accessConstraint hLegal[:accessCodes] unless hLegal[:accessCodes].empty? json.otherConstraint hLegal[:otherCons] unless hLegal[:otherCons].empty? end end # build end # LegalConstraint end end end end
Version data entries
57 entries across 57 versions & 1 rubygems