Class: DaVinciPDexTestKit::PDexPayerClient::MockServer::ResourceReadEndpoint
- Inherits:
-
ProxyEndpoint
- Object
- Inferno::DSL::SuiteEndpoint
- ProxyEndpoint
- DaVinciPDexTestKit::PDexPayerClient::MockServer::ResourceReadEndpoint
- Defined in:
- lib/davinci_pdex_test_kit/pdex_payer_client/mock_server/resource_read_endpoint.rb
Constant Summary
Constants included from URLs
URLs::AUTHORIZATION_PATH, URLs::BASE_FHIR_PATH, URLs::BINARY_PATH, URLs::EVERYTHING_PATH, URLs::EXPORT_PATH, URLs::EXPORT_STATUS_PATH, URLs::INSTANCE_PATH, URLs::MEMBER_MATCH_PATH, URLs::METADATA_PATH, URLs::PATIENT_INSTANCE_PATH, URLs::PATIENT_PATH, URLs::RESOURCE_PATH, URLs::RESUME_CLINICAL_DATA_PATH, URLs::RESUME_FAIL_PATH, URLs::RESUME_PASS_PATH, URLs::TOKEN_PATH
Instance Method Summary collapse
Methods inherited from ProxyEndpoint
#make_response, #server_proxy, #test_run_identifier, #update_result
Methods included from URLs
#base_url, #client_fhir_base_url, #fhir_base_url, #suite_id
Instance Method Details
#proxy_request(request) ⇒ Object
9 10 11 12 |
# File 'lib/davinci_pdex_test_kit/pdex_payer_client/mock_server/resource_read_endpoint.rb', line 9 def proxy_request(request) target_resource = request.url.split('/')[-2..-1].join('/') server_proxy.get(target_resource) end |
#tags ⇒ Object
14 15 16 |
# File 'lib/davinci_pdex_test_kit/pdex_payer_client/mock_server/resource_read_endpoint.rb', line 14 def [RESOURCE_ID_TAG] end |