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



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

def body
  @body
end

#content_typeObject

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



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

def content_type
  @content_type
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



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

def expires_at
  @expires_at
end

#status_codeObject

Returns the value of attribute status_code

Returns:

  • (Object)

    the current value of status_code



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

def status_code
  @status_code
end