Class: CarinForBlueButtonTestKit::ResourceIDEndpoint
- Inherits:
-
Inferno::DSL::SuiteEndpoint
- Object
- Inferno::DSL::SuiteEndpoint
- CarinForBlueButtonTestKit::ResourceIDEndpoint
show all
- Includes:
- MockServer
- Defined in:
- lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_id_endpoint.rb
Instance Method Summary
collapse
Methods included from MockServer
#carin_resource_id_response, #carin_resource_response, #error_response_resource, #extract_bearer_token, #extract_client_id, #extract_token_from_query_params, #find_matching_entry, #get_metadata, #get_params, #match_request_to_expectation, #mock_operation_outcome_resource, #new_link, #read_next_page, #relative_reference?, #remove_transfer_encoding_and_content_length_header, #replace_bundle_urls, #resource_endpoint, #resource_id_endpoint, #server_proxy, #token_response
Methods included from URLs
#base_fhir_url, #base_url, #metadata_url, #patient_url, #resource_id_url, #resume_claims_data_url, #resume_fail_url, #resume_pass_url, #submit_url, #suite_id, #token_url
Instance Method Details
#make_response ⇒ Object
12
13
14
|
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_id_endpoint.rb', line 12
def make_response
carin_resource_id_response(request)
end
|
16
17
18
|
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_id_endpoint.rb', line 16
def tags
[RESOURCE_ID_TAG]
end
|
#test_run_identifier ⇒ Object
8
9
10
|
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_id_endpoint.rb', line 8
def test_run_identifier
(request)
end
|
#update_result ⇒ Object
20
21
22
|
# File 'lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_id_endpoint.rb', line 20
def update_result
results_repo.update(result.id, result: 'pass') unless test.config.options[:accepts_multiple_requests]
end
|