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/providers/google.rb

27 lines
345 B
Ruby
Raw Normal View History

2010-12-16 15:04:28 -05:00
require 'nokogiri'
2011-01-10 01:12:48 -05:00
require 'fog/core'
require 'fog/core/parser'
module Fog
module Google
extend Fog::Provider
2011-01-07 18:34:20 -05:00
service(:storage, 'storage/google')
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