class CloudSesame::Domain::ClientModule::Caching::Base
Public Class Methods
new(client, searchable)
click to toggle source
# File lib/cloud_sesame/domain/client_module/caching/base.rb, line 7 def initialize(client, searchable) @client = client @searchable = searchable end
Public Instance Methods
fetch(_params)
click to toggle source
# File lib/cloud_sesame/domain/client_module/caching/base.rb, line 12 def fetch(_params) raise Error::Caching, "Caching Module needs #fetch method and accepts params" end
Private Instance Methods
search(params)
click to toggle source
# File lib/cloud_sesame/domain/client_module/caching/base.rb, line 18 def search(params) @client.search params end