Sha256: 9b1170a8148e456f89c45f1fa965d2dd01276269ea8bc35768362e4f4e2d0a8b
Contents?: true
Size: 485 Bytes
Versions: 17
Compression:
Stored size: 485 Bytes
Contents
class RiakCS < Fog::Bin class << self def class_for(key) case key when :provisioning Fog::RiakCS::Provisioning when :usage Fog::RiakCS::Usage else raise ArgumentError, "Unrecognized service: #{key}" end end def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = class_for(key) end @@connections[service] end def services Fog::RiakCS.services end end end
Version data entries
17 entries across 17 versions & 4 rubygems