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])


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

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:



1118
1119
1120
# File 'sig/types.rbs', line 1118

def attachments
  @attachments
end

#bcc_emailsArray[String] (readonly)

Returns the value of attribute bcc_emails.

Returns:

  • (Array[String])


1112
1113
1114
# File 'sig/types.rbs', line 1112

def bcc_emails
  @bcc_emails
end

#cc_emailsArray[String] (readonly)

Returns the value of attribute cc_emails.

Returns:

  • (Array[String])


1111
1112
1113
# File 'sig/types.rbs', line 1111

def cc_emails
  @cc_emails
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1117
1118
1119
# File 'sig/types.rbs', line 1117

def content
  @content
end

#dateString (readonly)

Returns the value of attribute date.

Returns:

  • (String)


1113
1114
1115
# File 'sig/types.rbs', line 1113

def date
  @date
end

#from_emailString (readonly)

Returns the value of attribute from_email.

Returns:

  • (String)


1109
1110
1111
# File 'sig/types.rbs', line 1109

def from_email
  @from_email
end

#html_contentString (readonly)

Returns the value of attribute html_content.

Returns:

  • (String)


1116
1117
1118
# File 'sig/types.rbs', line 1116

def html_content
  @html_content
end

#message_idString (readonly)

Returns the value of attribute message_id.

Returns:

  • (String)


1114
1115
1116
# File 'sig/types.rbs', line 1114

def message_id
  @message_id
end

#metadataHash[String, String] (readonly)

Returns the value of attribute metadata.

Returns:

  • (Hash[String, String])


1119
1120
1121
# File 'sig/types.rbs', line 1119

def 
  @metadata
end

#plain_textString (readonly)

Returns the value of attribute plain_text.

Returns:

  • (String)


1115
1116
1117
# File 'sig/types.rbs', line 1115

def plain_text
  @plain_text
end

#subjectString (readonly)

Returns the value of attribute subject.

Returns:

  • (String)


1108
1109
1110
# File 'sig/types.rbs', line 1108

def subject
  @subject
end

#to_emailsArray[String] (readonly)

Returns the value of attribute to_emails.

Returns:

  • (Array[String])


1110
1111
1112
# File 'sig/types.rbs', line 1110

def to_emails
  @to_emails
end