Class: DaVinciCRDTestKit::V221::AppointmentBookReceiveRequestTest
- Inherits:
-
Inferno::Test
- Object
- Inferno::Test
- DaVinciCRDTestKit::V221::AppointmentBookReceiveRequestTest
- Includes:
- ClientURLs
- Defined in:
- lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb
Constant Summary
Constants included from ClientURLs
Instance Method Summary collapse
Methods included from ClientURLs
base_url, discovery_url, prefetch_subset_discovery_url, #suite_id
Methods included from ClientBaseURLs
#appointment_book_prefetch_subset_url, #appointment_book_url, #discovery_url, #encounter_discharge_prefetch_subset_url, #encounter_discharge_url, #encounter_start_prefetch_subset_url, #encounter_start_url, #order_dispatch_prefetch_subset_url, #order_dispatch_url, #order_select_prefetch_subset_url, #order_select_url, #order_sign_prefetch_subset_url, #order_sign_url, #prefetch_subset_discovery_url
Methods included from BaseURLs
#inferno_base_url, #resume_fail_url, #resume_pass_url
Instance Method Details
#configured_response_details ⇒ Object
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb', line 103 def configured_response_details if appointment_book_response_approach == 'custom' # rubocop:disable Layout/LineLength 'When responding, Inferno will evaluate the provided [custom response template](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Controlling-Simulated-Responses#tester-directed-custom-responses) ' \ 'from the **Custom response template for appointment-book hook requests** input ' \ 'against the incoming request to create a response.' # rubocop:enable Layout/LineLength else # rubocop:disable Layout/LineLength 'When responding, Inferno will [mock](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Controlling-Simulated-Responses#mocked-responses) ' \ 'the following response types using the incoming request: ' \ "\n - #{selected_response_types_string}" # rubocop:enable Layout/LineLength end end |
#selected_response_types_string ⇒ Object
120 121 122 123 124 125 126 |
# File 'lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb', line 120 def selected_response_types_string if appointment_book_selected_response_types.present? appointment_book_selected_response_types.join("\n - ") else 'Coverage Information' # primary hook default end end |