Class: Xberg::EmailAttachment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmailAttachment



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

def initialize: (?name: String, ?filename: String, ?mime_type: String, ?size: Integer, is_image: bool, ?data: String) -> void

Instance Attribute Details

#dataString? (readonly)

Returns the value of attribute data.



705
706
707
# File 'sig/types.rbs', line 705

def data
  @data
end

#filenameString? (readonly)

Returns the value of attribute filename.



701
702
703
# File 'sig/types.rbs', line 701

def filename
  @filename
end

#is_imageBoolean (readonly)

Returns the value of attribute is_image.



704
705
706
# File 'sig/types.rbs', line 704

def is_image
  @is_image
end

#mime_typeString? (readonly)

Returns the value of attribute mime_type.



702
703
704
# File 'sig/types.rbs', line 702

def mime_type
  @mime_type
end

#nameString? (readonly)

Returns the value of attribute name.



700
701
702
# File 'sig/types.rbs', line 700

def name
  @name
end

#sizeInteger? (readonly)

Returns the value of attribute size.



703
704
705
# File 'sig/types.rbs', line 703

def size
  @size
end