1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/google.rb

25 lines
361 B
Ruby
Raw Normal View History

require 'fog/core'
module Fog
module Google
extend Fog::Provider
2012-12-04 15:01:36 -05:00
service(:compute, 'google/compute', 'Compute')
service(:storage, 'google/storage', 'Storage')
class Mock
def self.etag
hex(32)
end
def self.hex(length)
max = ('f' * length).to_i(16)
rand(max).to_s(16)
end
end
end
end