Class: Garner::Strategies::Context::Key::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/garner/strategies/context/key/base.rb

Direct Known Subclasses

Caller, Jsonp, RequestGet, RequestPath, RequestPost

Class Method Summary collapse

Class Method Details

.apply(identity, _ruby_context = nil) ⇒ Garner::Cache::Identity

Compute a hash of key-value pairs from a given ruby context, and apply it to a cache identity.

Parameters:

Returns:



12
13
14
# File 'lib/garner/strategies/context/key/base.rb', line 12

def self.apply(identity, _ruby_context = nil)
  identity
end