Class: Google
Class Method Summary collapse
Methods inherited from Fog::Bin
Class Method Details
.[](service) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/fog/google/bin.rb', line 4 def [](service) @@connections ||= Hash.new do |hash, key| hash[key] = case key when :storage Fog::Google::Storage.new end end @@connections[service] end |
.services ⇒ Object
14 15 16 |
# File 'lib/fog/google/bin.rb', line 14 def services [:storage] end |