Sha256: 1d1295285e1ae75cf8aaed2350239647ec7dc07f932117948bd2c93e9a243b7a

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

module IPinfo
  class CacheInterface
    class InterfaceNotImplemented < StandardError; end
    def get(key)
      raise InterfaceNotImplemented
    end

    def set(key, value)
      raise InterfaceNotImplemented
    end

    def contains?(key)
      raise InterfaceNotImplemented
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
IPinfo-0.1.2 lib/ipinfo/cache/cache_interface.rb
IPinfo-0.1.1 lib/ipinfo/cache/cache_interface.rb