Class: Lifen::Binary
Instance Method Summary collapse
Instance Method Details
#download ⇒ Object
16 17 18 |
# File 'lib/lifen/binary.rb', line 16 def download application_client.get("fhir/#{reference}", { accept: "application/pdf" }) end |
#fhir_payload ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/lifen/binary.rb', line 8 def fhir_payload { contentReference: { reference: reference } } end |