Fog::Bin
# File lib/fog/bin/riakcs.rb, line 15 def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = class_for(key) end @@connections[service] end
# File lib/fog/bin/riakcs.rb, line 4 def class_for(key) case key when :provisioning Fog::RiakCS::Provisioning when :usage Fog::RiakCS::Usage else raise ArgumentError, "Unrecognized service: #{key}" end end
# File lib/fog/bin/riakcs.rb, line 22 def services Fog::RiakCS.services end
[Validate]
Generated with the Darkfish Rdoc Generator 2.