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.
766 |
# File 'sig/types.rbs', line 766
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.
763 764 765 |
# File 'sig/types.rbs', line 763 def compressed_size @compressed_size end |
#data ⇒ String (readonly)
Returns the value of attribute data.
762 763 764 |
# File 'sig/types.rbs', line 762 def data @data end |
#mime_type ⇒ String? (readonly)
Returns the value of attribute mime_type.
764 765 766 |
# File 'sig/types.rbs', line 764 def mime_type @mime_type end |
#name ⇒ String (readonly)
Returns the value of attribute name.
761 762 763 |
# File 'sig/types.rbs', line 761 def name @name end |