Sha256: f46d02ad1713c69049644c9750bebadf1e9aad55897d9c8deec72ef360bbdc66
Contents?: true
Size: 970 Bytes
Versions: 22
Compression:
Stored size: 970 Bytes
Contents
# mdJson 2.0 writer - online resource # History: # Stan Smith 2019-09-18 add protocolRequest and applicationProfile # Stan Smith 2017-03-11 refactored for mdJson/mdTranslator 2.0 # Josh Bradley original script require 'jbuilder' module ADIWG module Mdtranslator module Writers module MdJson module OnlineResource def self.build(hOlRes) Jbuilder.new do |json| json.uri hOlRes[:olResURI] json.name hOlRes[:olResName] json.description hOlRes[:olResDesc] json.function hOlRes[:olResFunction] json.applicationProfile hOlRes[:olResApplicationProfile] json.protocol hOlRes[:olResProtocol] json.protocolRequest hOlRes[:olResProtocolRequest] end end # build end # OnlineResource end end end end
Version data entries
22 entries across 22 versions & 1 rubygems