Class: Tina4::ResponseCache::CacheEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/tina4/response_cache.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



28
29
30
# File 'lib/tina4/response_cache.rb', line 28

def body
  @body
end

#content_typeObject

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



28
29
30
# File 'lib/tina4/response_cache.rb', line 28

def content_type
  @content_type
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



28
29
30
# File 'lib/tina4/response_cache.rb', line 28

def expires_at
  @expires_at
end

#status_codeObject

Returns the value of attribute status_code

Returns:

  • (Object)

    the current value of status_code



28
29
30
# File 'lib/tina4/response_cache.rb', line 28

def status_code
  @status_code
end