Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fog-google / lib / fog / google / mock.rb
Size: Mime:
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