cartodb-4.42/app/models/carto/helpers/has_connector_configuration.rb

9 lines
230 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
module Carto
module HasConnectorConfiguration
def connector_configuration(provider_name)
provider = ConnectorProvider.find_by_name(provider_name)
ConnectorConfiguration.for_user(self, provider)
end
end
end