Class: Bsdkrun::RestoreResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/bsdkrun/cache.rb

Overview

What a restore did. A miss is not an error — check restored.

Instance Attribute Summary collapse

Instance Attribute Details

#compressionObject

Returns the value of attribute compression

Returns:

  • (Object)

    the current value of compression



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def compression
  @compression
end

#createdObject

Returns the value of attribute created

Returns:

  • (Object)

    the current value of created



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def created
  @created
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def key
  @key
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def path
  @path
end

#requested_keyObject

Returns the value of attribute requested_key

Returns:

  • (Object)

    the current value of requested_key



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def requested_key
  @requested_key
end

#restoredObject

Returns the value of attribute restored

Returns:

  • (Object)

    the current value of restored



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def restored
  @restored
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



21
22
23
# File 'lib/bsdkrun/cache.rb', line 21

def size
  @size
end