Class: PhisherPhinder::MailParser::BodyParser

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

Instance Method Summary collapse

Instance Method Details

#parse(contents) ⇒ Object



7
8
9
10
# File 'lib/phisher_phinder/mail_parser/body_parser.rb', line 7

def parse(contents)
  mail = ::Mail.new(contents)
  aggregate_body_parts(mail)
end