Class: Prefab::CachingHttpConnection::CacheEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/prefab/caching_http_connection.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



6
7
8
# File 'lib/prefab/caching_http_connection.rb', line 6

def data
  @data
end

#etagObject

Returns the value of attribute etag

Returns:

  • (Object)

    the current value of etag



6
7
8
# File 'lib/prefab/caching_http_connection.rb', line 6

def etag
  @etag
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



6
7
8
# File 'lib/prefab/caching_http_connection.rb', line 6

def expires_at
  @expires_at
end