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) ⇒ void

This method returns an undefined value.

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


387
388
389
# File 'lib/inferno/dsl/fhir_client.rb', line 387

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