Class: Lifen::Attachment
Instance Method Summary collapse
Instance Method Details
#fhir_payload ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/lifen/attachment.rb', line 9 def fhir_payload { contentAttachment: { data: base_64_encoded_content, title: title, contentType: "{#{content_type}}" } } end |