Sha256: 820f9c4d95fcd64edc9899b08a89c7a0c1c918496242ed4ef251be752cec58aa
Contents?: true
Size: 560 Bytes
Versions: 7
Compression:
Stored size: 560 Bytes
Contents
class Zerigo < Fog::Bin class << self def class_for(key) case key when :dns Fog::Zerigo::DNS else raise ArgumentError, "Unrecognized service: #{key}" end end def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = case key when :dns Fog::DNS.new(:provider => 'Zerigo') else raise ArgumentError, "Unrecognized service: #{service}" end end @@connections[service] end def services [:dns] end end end
Version data entries
7 entries across 7 versions & 2 rubygems