Class: Fog::Google::Mock
- Inherits:
-
Object
- Object
- Fog::Google::Mock
- Defined in:
- lib/fog/google.rb
Class Method Summary collapse
Class Method Details
.etag ⇒ Object
12 13 14 |
# File 'lib/fog/google.rb', line 12 def self.etag hex(32) end |
.hex(length) ⇒ Object
16 17 18 19 |
# File 'lib/fog/google.rb', line 16 def self.hex(length) max = ('f' * length).to_i(16) rand(max).to_s(16) end |