Module: EmailHelper

Defined in:
lib/watirmark/cucumber/email_helper.rb

Defined Under Namespace

Classes: EmailBody, EmailCollection, EmailEnvelope, EmailLink

Instance Method Summary collapse

Instance Method Details

#email_body(body) ⇒ Object

Parse the email body into an object



9
10
11
# File 'lib/watirmark/cucumber/email_helper.rb', line 9

def email_body(body)
  EmailBody.new(body)
end

#emailsObject

Access the list of emails we’ve read and cached



4
5
6
# File 'lib/watirmark/cucumber/email_helper.rb', line 4

def emails
  EmailCollection
end