mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
2e0b7e545a
Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
22 lines
340 B
Ruby
22 lines
340 B
Ruby
require 'fog/core'
|
|
require 'fog/xml'
|
|
|
|
module Fog
|
|
module Google
|
|
extend Fog::Provider
|
|
|
|
service(:compute, 'Compute')
|
|
service(: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
|