Class: Enconvert::Internal::FilePart

Inherits:
Struct
  • Object
show all
Defined in:
lib/enconvert/internal.rb

Overview

Normalized { bytes, filename, content_type } produced by to_file_part. Shared by the V1 file conversions (Client) and the V2 file-ingest path (V2#ingest_files).

Instance Attribute Summary collapse

Instance Attribute Details

#bytesObject

Returns the value of attribute bytes

Returns:

  • (Object)

    the current value of bytes



16
17
18
# File 'lib/enconvert/internal.rb', line 16

def bytes
  @bytes
end

#content_typeObject

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



16
17
18
# File 'lib/enconvert/internal.rb', line 16

def content_type
  @content_type
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



16
17
18
# File 'lib/enconvert/internal.rb', line 16

def filename
  @filename
end