Module: Workarea::Email
- Defined in:
- app/models/workarea/email.rb,
app/models/workarea/email/signup.rb
Overview
TODO v4 get rid of this
Defined Under Namespace
Classes: Signup
Class Method Summary collapse
- .signed_up?(email) ⇒ Boolean
-
.signup(email) ⇒ self
Add an email address to the email sign ups list.
- .unsignup(email) ⇒ Object
Class Method Details
.signed_up?(email) ⇒ Boolean
14 15 16 |
# File 'app/models/workarea/email.rb', line 14 def self.signed_up?(email) Workarea::Email::Signup.where(email: email).exists? end |