cartodb/app/models/carto/helpers/has_connector_configuration.rb
2020-06-15 10:58:47 +08:00

9 lines
230 B
Ruby

module Carto
module HasConnectorConfiguration
def connector_configuration(provider_name)
provider = ConnectorProvider.find_by_name(provider_name)
ConnectorConfiguration.for_user(self, provider)
end
end
end