fluke/devops-service/providers/connection_factory.rb

14 lines
173 B
Ruby
Raw Normal View History

module Provider
class ConnectionFactory
2015-10-26 16:20:05 +03:00
def init config
end
def connection account_name
2015-10-26 16:20:05 +03:00
@connections[account_name] || @from_config
end
end
end