Class: MailCapture::GenerateResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/mailcapture/models.rb

Overview

Result from Client#generate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



3
4
5
# File 'lib/mailcapture/models.rb', line 3

def email
  @email
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



3
4
5
# File 'lib/mailcapture/models.rb', line 3

def tag
  @tag
end

Instance Method Details

#to_sObject 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