class Multiwoven::Integrations::Source::Redshift::Client
def check_connection(connection_config)
def check_connection(connection_config) connection_config = connection_config.with_indifferent_access create_connection(connection_config) ConnectionStatus.new( status: ConnectionStatusType["succeeded"] ).to_multiwoven_message rescue PG::Error => e ConnectionStatus.new( status: ConnectionStatusType["failed"], message: e.message ).to_multiwoven_message end