Module: Inferno::DSL::FHIRClient::ClassMethods

Included in:
Entities::TestGroup, Entities::TestSuite
Defined in:
lib/inferno/dsl/fhir_client.rb

Instance Method Summary collapse

Instance Method Details

#fhir_client(name = :default, &block) ⇒ Object

Define a FHIR client to be used by a Runnable.

Parameters:

  • name (Symbol) (defaults to: :default)

    a name used to reference this particular client

  • block

    a block to configure the client

See Also:

  • Documentation for the client configuration DSL


230
231
232
# File 'lib/inferno/dsl/fhir_client.rb', line 230

def fhir_client(name = :default, &block)
  fhir_client_definitions[name] = block
end