Sha256: 14334b8e2d082d7f4ee40eece5b9bc056675acb73be71d146d2e4fb933c3b11f
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
module CloudSesame module Domain module ClientModule module Caching class Base def initialize(client, searchable) @client = client @searchable = searchable end def fetch(_params) raise Error::Caching, "Caching Module needs #fetch method and accepts params" end private def search(params) @client.search params end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
CloudSesame-0.6.5 | lib/cloud_sesame/domain/client_module/caching/base.rb |