Class: Xberg::EmbeddedFile

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmbeddedFile

Returns a new instance of EmbeddedFile.

Parameters:

  • name: (String)
  • data: (String)
  • compressed_size: (Integer)
  • mime_type: (String)


2071
# File 'sig/types.rbs', line 2071

def initialize: (name: String, data: String, compressed_size: Integer, ?mime_type: String) -> void

Instance Attribute Details

#compressed_sizeInteger (readonly)

Returns the value of attribute compressed_size.

Returns:

  • (Integer)


2068
2069
2070
# File 'sig/types.rbs', line 2068

def compressed_size
  @compressed_size
end

#dataString (readonly)

Returns the value of attribute data.

Returns:

  • (String)


2067
2068
2069
# File 'sig/types.rbs', line 2067

def data
  @data
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


2069
2070
2071
# File 'sig/types.rbs', line 2069

def mime_type
  @mime_type
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


2066
2067
2068
# File 'sig/types.rbs', line 2066

def name
  @name
end