Class: RailsWayback::CacheInventory::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_wayback/cache_inventory.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#file_count ⇒ Object

Returns the value of attribute file_count

Returns:

  • (Object) —

    the current value of file_count



18
19
20
# File 'lib/rails_wayback/cache_inventory.rb', line 18

def file_count
  @file_count
end

#last_accessed_at ⇒ Object

Returns the value of attribute last_accessed_at

Returns:

  • (Object) —

    the current value of last_accessed_at



18
19
20
# File 'lib/rails_wayback/cache_inventory.rb', line 18

def last_accessed_at
  @last_accessed_at
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



18
19
20
# File 'lib/rails_wayback/cache_inventory.rb', line 18

def path
  @path
end

#sha ⇒ Object

Returns the value of attribute sha

Returns:

  • (Object) —

    the current value of sha



18
19
20
# File 'lib/rails_wayback/cache_inventory.rb', line 18

def sha
  @sha
end

#size_bytes ⇒ Object

Returns the value of attribute size_bytes

Returns:

  • (Object) —

    the current value of size_bytes



18
19
20
# File 'lib/rails_wayback/cache_inventory.rb', line 18

def size_bytes
  @size_bytes
end

#valid ⇒ Object

Returns the value of attribute valid

Returns:

  • (Object) —

    the current value of valid



18
19
20
# File 'lib/rails_wayback/cache_inventory.rb', line 18

def valid
  @valid
end

Instance Method Details

#valid? ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/rails_wayback/cache_inventory.rb', line 22

def valid?
  valid
end