Class: MailCapture::GenerateResult
- Inherits:
-
Struct
- Object
- Struct
- MailCapture::GenerateResult
- Defined in:
- lib/mailcapture/models.rb
Overview
Result from Client#generate.
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Method Summary collapse
- #to_s ⇒ Object (also: #inspect)
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
3 4 5 |
# File 'lib/mailcapture/models.rb', line 3 def email @email end |
#tag ⇒ Object
Returns the value of attribute tag
3 4 5 |
# File 'lib/mailcapture/models.rb', line 3 def tag @tag end |
Instance Method Details
#to_s ⇒ Object Also known as: inspect
4 5 6 |
# File 'lib/mailcapture/models.rb', line 4 def to_s "#<MailCapture::GenerateResult tag=#{tag.inspect} email=#{email.inspect}>" end |