Class: Xberg::EmbeddedFile
- Inherits:
-
Object
- Object
- Xberg::EmbeddedFile
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#compressed_size ⇒ Integer
readonly
Returns the value of attribute compressed_size.
-
#data ⇒ String
readonly
Returns the value of attribute data.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
-
#name ⇒ String
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ EmbeddedFile
constructor
A new instance of EmbeddedFile.
Constructor Details
#initialize ⇒ EmbeddedFile
Returns a new instance of EmbeddedFile.
2211 |
# File 'sig/types.rbs', line 2211
def initialize: (name: String, data: String, compressed_size: Integer, ?mime_type: String) -> void
|
Instance Attribute Details
#compressed_size ⇒ Integer (readonly)
Returns the value of attribute compressed_size.
2208 2209 2210 |
# File 'sig/types.rbs', line 2208 def compressed_size @compressed_size end |
#data ⇒ String (readonly)
Returns the value of attribute data.
2207 2208 2209 |
# File 'sig/types.rbs', line 2207 def data @data end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
2209 2210 2211 |
# File 'sig/types.rbs', line 2209 def mime_type @mime_type end |
#name ⇒ String (readonly)
Returns the value of attribute name.
2206 2207 2208 |
# File 'sig/types.rbs', line 2206 def name @name end |