class Multiwoven::Integrations::Destination::Klaviyo::Client
def check_connection(connection_config)
def check_connection(connection_config) connection_config = connection_config.with_indifferent_access api_key = connection_config[:private_api_key] response = Multiwoven::Integrations::Core::HttpClient.request( KLAVIYO_AUTH_ENDPOINT, HTTP_POST, payload: KLAVIYO_AUTH_PAYLOAD, headers: auth_headers(api_key) ) parse_response(response) end