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.
2071 |
# File 'sig/types.rbs', line 2071
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.
2068 2069 2070 |
# File 'sig/types.rbs', line 2068 def compressed_size @compressed_size end |
#data ⇒ String (readonly)
Returns the value of attribute data.
2067 2068 2069 |
# File 'sig/types.rbs', line 2067 def data @data end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
2069 2070 2071 |
# File 'sig/types.rbs', line 2069 def mime_type @mime_type end |
#name ⇒ String (readonly)
Returns the value of attribute name.
2066 2067 2068 |
# File 'sig/types.rbs', line 2066 def name @name end |