Class: EmailHelper::EmailEnvelope

Inherits:
Object
  • Object
show all
Defined in:
lib/watirmark/cucumber/email_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(envelope) ⇒ EmailEnvelope

Returns a new instance of EmailEnvelope.



94
95
96
97
# File 'lib/watirmark/cucumber/email_helper.rb', line 94

def initialize(envelope)
  @envelope = envelope
  @from = envelope.from
end

Instance Attribute Details

#envelopeObject

Returns the value of attribute envelope.



92
93
94
# File 'lib/watirmark/cucumber/email_helper.rb', line 92

def envelope
  @envelope
end