Class: CheckoutSdk::Identities::AmlScreening::AmlScreeningClient
- Defined in:
- lib/checkout_sdk/identities/aml_screening/aml_screening_client.rb
Overview
Client for the Identities — AML Screening API.
Instance Attribute Summary
Attributes inherited from Client
#api_client, #authorization_type, #configuration
Instance Method Summary collapse
- #create_aml_verification(aml_verification_request) ⇒ Object
- #get_aml_verification(aml_verification_id) ⇒ Object
-
#initialize(api_client, configuration) ⇒ AmlScreeningClient
constructor
A new instance of AmlScreeningClient.
Constructor Details
#initialize(api_client, configuration) ⇒ AmlScreeningClient
Returns a new instance of AmlScreeningClient.
13 14 15 |
# File 'lib/checkout_sdk/identities/aml_screening/aml_screening_client.rb', line 13 def initialize(api_client, configuration) super(api_client, configuration, CheckoutSdk::AuthorizationType::SECRET_KEY_OR_OAUTH) end |
Instance Method Details
#create_aml_verification(aml_verification_request) ⇒ Object
18 19 20 |
# File 'lib/checkout_sdk/identities/aml_screening/aml_screening_client.rb', line 18 def create_aml_verification(aml_verification_request) api_client.invoke_post(AML_VERIFICATIONS, , aml_verification_request) end |
#get_aml_verification(aml_verification_id) ⇒ Object
23 24 25 |
# File 'lib/checkout_sdk/identities/aml_screening/aml_screening_client.rb', line 23 def get_aml_verification(aml_verification_id) api_client.invoke_get(build_path(AML_VERIFICATIONS, aml_verification_id), ) end |