Sha256: a91f84beb261cbc3394e85848c5d16d5fdd5a47fa1c5b484650512d9c1d5e23f

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

class IPinfo::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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
IPinfo-2.2.4 lib/ipinfo/cache/cache_interface.rb
IPinfo-2.2.3 lib/ipinfo/cache/cache_interface.rb
IPinfo-2.2.1 lib/ipinfo/cache/cache_interface.rb
IPinfo-1.1.0 lib/ipinfo/cache/cache_interface.rb
IPinfo-1.0.1 lib/ipinfo/cache/cache_interface.rb