lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_legalConstraint.rb in adiwg-mdtranslator-2.18.4 vs lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_legalConstraint.rb in adiwg-mdtranslator-2.19.0.pre.beta.7
- old
+ new
@@ -13,11 +13,11 @@
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.useConstraint hLegal[:useCodes] unless hLegal[:useCodes].empty?
json.otherConstraint hLegal[:otherCons] unless hLegal[:otherCons].empty?
end
end # build
end # LegalConstraint