Sha256: 012562c2ed29053b264d2222a77b4e27bc608f750e6264e01fa2807e2161ae04
Contents?: true
Size: 713 Bytes
Versions: 19
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.accessConstraint hLegal[:accessCodes] unless hLegal[:accessCodes].empty? json.useConstraint hLegal[:useCodes] unless hLegal[:useCodes].empty? json.otherConstraint hLegal[:otherCons] unless hLegal[:otherCons].empty? end end # build end # LegalConstraint end end end end
Version data entries
19 entries across 19 versions & 1 rubygems