Class: PhisherPhinder::ExpandedDataProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/phisher_phinder/expanded_data_processor.rb

Instance Method Summary collapse

Instance Method Details

#process(mail) ⇒ Object



3
4
5
6
7
8
# File 'lib/phisher_phinder/expanded_data_processor.rb', line 3

def process(mail)
  {
    linked_content: mail.hypertext_links.map { |l| lookup_content(l) },
    mail: mail
  }
end