Class: Xberg::EmailExtractionResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmailExtractionResult

Returns a new instance of EmailExtractionResult.

Parameters:

  • subject: (String)
  • from_email: (String)
  • to_emails: (Array[String])
  • cc_emails: (Array[String])
  • bcc_emails: (Array[String])
  • date: (String)
  • message_id: (String)
  • plain_text: (String)
  • html_content: (String)
  • content: (String)
  • attachments: (Array[EmailAttachment])
  • metadata: (Hash[String, String])


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

def initialize: (?subject: String, ?from_email: String, to_emails: Array[String], cc_emails: Array[String], bcc_emails: Array[String], ?date: String, ?message_id: String, ?plain_text: String, ?html_content: String, content: String, attachments: Array[EmailAttachment], metadata: Hash[String, String]) -> void

Instance Attribute Details

#attachmentsArray[EmailAttachment] (readonly)

Returns the value of attribute attachments.

Returns:



1197
1198
1199
# File 'sig/types.rbs', line 1197

def attachments
  @attachments
end

#bcc_emailsArray[String] (readonly)

Returns the value of attribute bcc_emails.

Returns:

  • (Array[String])


1191
1192
1193
# File 'sig/types.rbs', line 1191

def bcc_emails
  @bcc_emails
end

#cc_emailsArray[String] (readonly)

Returns the value of attribute cc_emails.

Returns:

  • (Array[String])


1190
1191
1192
# File 'sig/types.rbs', line 1190

def cc_emails
  @cc_emails
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1196
1197
1198
# File 'sig/types.rbs', line 1196

def content
  @content
end

#dateString (readonly)

Returns the value of attribute date.

Returns:

  • (String)


1192
1193
1194
# File 'sig/types.rbs', line 1192

def date
  @date
end

#from_emailString (readonly)

Returns the value of attribute from_email.

Returns:

  • (String)


1188
1189
1190
# File 'sig/types.rbs', line 1188

def from_email
  @from_email
end

#html_contentString (readonly)

Returns the value of attribute html_content.

Returns:

  • (String)


1195
1196
1197
# File 'sig/types.rbs', line 1195

def html_content
  @html_content
end

#message_idString (readonly)

Returns the value of attribute message_id.

Returns:

  • (String)


1193
1194
1195
# File 'sig/types.rbs', line 1193

def message_id
  @message_id
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


1198
1199
1200
# File 'sig/types.rbs', line 1198

def 
  @metadata
end

#plain_textString (readonly)

Returns the value of attribute plain_text.

Returns:

  • (String)


1194
1195
1196
# File 'sig/types.rbs', line 1194

def plain_text
  @plain_text
end

#subjectString (readonly)

Returns the value of attribute subject.

Returns:

  • (String)


1187
1188
1189
# File 'sig/types.rbs', line 1187

def subject
  @subject
end

#to_emailsArray[String] (readonly)

Returns the value of attribute to_emails.

Returns:

  • (Array[String])


1189
1190
1191
# File 'sig/types.rbs', line 1189

def to_emails
  @to_emails
end