Class: Xberg::EmailAttachment
- Inherits:
-
Object
- Object
- Xberg::EmailAttachment
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#data ⇒ String
readonly
Returns the value of attribute data.
-
#filename ⇒ String
readonly
Returns the value of attribute filename.
-
#is_image ⇒ Boolean
readonly
Returns the value of attribute is_image.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#size ⇒ Integer
readonly
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize ⇒ EmailAttachment
constructor
A new instance of EmailAttachment.
Constructor Details
#initialize ⇒ EmailAttachment
Returns a new instance of EmailAttachment.
1172 |
# File 'sig/types.rbs', line 1172
def initialize: (?name: String, ?filename: String, ?mime_type: String, ?size: Integer, is_image: bool, ?data: String) -> void
|
Instance Attribute Details
#data ⇒ String (readonly)
Returns the value of attribute data.
1170 1171 1172 |
# File 'sig/types.rbs', line 1170 def data @data end |
#filename ⇒ String (readonly)
Returns the value of attribute filename.
1166 1167 1168 |
# File 'sig/types.rbs', line 1166 def filename @filename end |
#is_image ⇒ Boolean (readonly)
Returns the value of attribute is_image.
1169 1170 1171 |
# File 'sig/types.rbs', line 1169 def is_image @is_image end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
1167 1168 1169 |
# File 'sig/types.rbs', line 1167 def mime_type @mime_type end |
#name ⇒ String (readonly)
Returns the value of attribute name.
1165 1166 1167 |
# File 'sig/types.rbs', line 1165 def name @name end |
#size ⇒ Integer (readonly)
Returns the value of attribute size.
1168 1169 1170 |
# File 'sig/types.rbs', line 1168 def size @size end |