class Comet::EmailReportGeneratedPreview
def to_hash
-
(Hash)- The complete object as a Ruby hash
def to_hash ret = {} ret['Status'] = @status ret['Message'] = @message ret['From'] = @from ret['To'] = @to ret['EmailSubject'] = @email_subject ret['EmailBodyHTML'] = @email_body_html ret['EmailBodyPlaintext'] = @email_body_plaintext @unknown_json_fields.each do |k, v| ret[k] = v end ret end