mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
b0a7473f5b
'fog/core' is already in the load path. No need to go to these extents.
23 lines
310 B
Ruby
23 lines
310 B
Ruby
require 'fog/core'
|
|
|
|
module Fog
|
|
module Google
|
|
|
|
extend Fog::Provider
|
|
|
|
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
|