Sha256: 4c8492c2fe371b694e6e6f0e13f7a42f5e7affc1f874650b15c1c4b2d739eea6
Contents?: true
Size: 381 Bytes
Versions: 18
Compression:
Stored size: 381 Bytes
Contents
module InstanceSelector class UnsupportedProviderException < Exception; end; class Connection def self.factory(provider, options={}) conn = case provider when :aws Providers::AWS.new(options) else raise UnsupportedProviderException, "#{provider} is not a supported provider" end end end end
Version data entries
18 entries across 18 versions & 1 rubygems