Class: Arrest::RequestContext

Inherits:
Object
  • Object
show all
Defined in:
lib/arrest/transport/request_context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#header_decoratorObject

Returns the value of attribute header_decorator.



4
5
6
# File 'lib/arrest/transport/request_context.rb', line 4

def header_decorator
  @header_decorator
end

Instance Method Details

#cacheObject

override with actual cache if desired



8
9
10
# File 'lib/arrest/transport/request_context.rb', line 8

def cache
  @cache ||= DummyCache.new
end