lib/lifen/communication/attachment.rb in lifen-1.6.2 vs lib/lifen/communication/attachment.rb in lifen-1.6.3

- old
+ new

@@ -2,15 +2,17 @@ module Communication class Attachment < Lifen::Base attribute :title, String attribute :path, String + attribute :content_type, String def fhir_payload { contentAttachment: { data: base_64_encoded_content, - title: title + title: title, + contentType: "{#{content_type}}" } } end private \ No newline at end of file