Sha256: 45c36ca61269f57ccf3fee88fa5cdf878da8e6879034f6b0184b4c1f8faa4663

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

module Helpers
  class Cache
    def initialize
      @memory = {}
    end

    def get(request)
      p "get cache"
      @memory[request]
    end

    def set(request, response)
      p "set cache"
      @memory[request] = response
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
overview-0.0.6.pre.24 lib/helpers/cache.rb