module Inferno::DSL::FHIRClient::ClassMethods
Public Instance Methods
fhir_client(name = :default, &block)
click to toggle source
Define a FHIR client to be used by a Runnable
.
@param name [Symbol] a name used to reference this particular client @param block a block to configure the client @see Inferno::FHIRClientBuilder Documentation for the client
configuration DSL
# File lib/inferno/dsl/fhir_client.rb, line 146 def fhir_client(name = :default, &block) fhir_client_definitions[name] = block end
fhir_client_definitions()
click to toggle source
@api private
# File lib/inferno/dsl/fhir_client.rb, line 136 def fhir_client_definitions @fhir_client_definitions ||= {} end