fog/fog-google

View on GitHub
lib/fog/google/mock.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Fog
  module 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