class Medidata::API::UploadControlData
Public Instance Methods
to_json()
click to toggle source
# File lib/medidata/api/upload.rb, line 74 def to_json s = {} s[:mode] = mode if mode s[:toOrganization] = toOrganization if toOrganization s[:toTrustCenter] = toTrustCenter if toTrustCenter s[:toPatient] = toPatient if toPatient s[:printLanguage] = printLanguage if printLanguage s[:postalDelivery] = postalDelivery if postalDelivery s[:forcePostalToPatient] = forcePostalToPatient if forcePostalToPatient s[:documentReference] = documentReference if documentReference s[:correlationReference] = correlationReference if correlationReference JSON.generate(s) end