Class: Xberg::EmailAttachment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmailAttachment

Returns a new instance of EmailAttachment.

Parameters:

  • name: (String)
  • filename: (String)
  • mime_type: (String)
  • size: (Integer)
  • is_image: (Boolean)
  • data: (String)


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

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.

Returns:

  • (String)


1169
1170
1171
# File 'sig/types.rbs', line 1169

def data
  @data
end

#filenameString (readonly)

Returns the value of attribute filename.

Returns:

  • (String)


1165
1166
1167
# File 'sig/types.rbs', line 1165

def filename
  @filename
end

#is_imageBoolean (readonly)

Returns the value of attribute is_image.

Returns:

  • (Boolean)


1168
1169
1170
# File 'sig/types.rbs', line 1168

def is_image
  @is_image
end

#mime_typeString (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String)


1166
1167
1168
# File 'sig/types.rbs', line 1166

def mime_type
  @mime_type
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1164
1165
1166
# File 'sig/types.rbs', line 1164

def name
  @name
end

#sizeInteger (readonly)

Returns the value of attribute size.

Returns:

  • (Integer)


1167
1168
1169
# File 'sig/types.rbs', line 1167

def size
  @size
end