Class: MailFinder::Results

Inherits:
Struct
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/spreewald_support/mail_finder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#body_regexObject

Returns the value of attribute body_regex

Returns:

  • (Object)

    the current value of body_regex



108
109
110
# File 'lib/spreewald_support/mail_finder.rb', line 108

def body_regex
  @body_regex
end

#mailsObject

Returns the value of attribute mails

Returns:

  • (Object)

    the current value of mails



108
109
110
# File 'lib/spreewald_support/mail_finder.rb', line 108

def mails
  @mails
end

#matching_headerObject

Returns the value of attribute matching_header

Returns:

  • (Object)

    the current value of matching_header



108
109
110
# File 'lib/spreewald_support/mail_finder.rb', line 108

def matching_header
  @matching_header
end

Instance Method Details

#many?Boolean

Returns:

  • (Boolean)


112
113
114
# File 'lib/spreewald_support/mail_finder.rb', line 112

def many?
  size > 1
end