Class: Daytona::DownloadProgress

Inherits:
Struct
  • Object
show all
Defined in:
lib/daytona/file_transfer.rb

Overview

Progress information for a streaming download.

Instance Attribute Summary collapse

Instance Attribute Details

#bytes_receivedObject

Returns the value of attribute bytes_received

Returns:

  • (Object)

    the current value of bytes_received



13
14
15
# File 'lib/daytona/file_transfer.rb', line 13

def bytes_received
  @bytes_received
end

#total_bytesObject

Returns the value of attribute total_bytes

Returns:

  • (Object)

    the current value of total_bytes



13
14
15
# File 'lib/daytona/file_transfer.rb', line 13

def total_bytes
  @total_bytes
end