Class: Recoil::Email

Inherits:
Struct
  • Object
show all
Defined in:
lib/recoil/email.rb

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



2
3
4
# File 'lib/recoil/email.rb', line 2

def email
  @email
end

Instance Method Details

#blacklisted?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/recoil/email.rb', line 3

def blacklisted?
  Recoil.blacklist_threshold.call(scope)
end

#to_sObject



7
8
9
# File 'lib/recoil/email.rb', line 7

def to_s
  email
end