Class: Example::Signup::Models::Admin
- Inherits:
-
Object
- Object
- Example::Signup::Models::Admin
- Defined in:
- lib/example/signup/models.rb
Instance Attribute Summary collapse
-
#notified ⇒ Object
Returns the value of attribute notified.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Admin
constructor
A new instance of Admin.
- #notify_about(user) ⇒ Object
Constructor Details
#initialize ⇒ Admin
Returns a new instance of Admin.
27 28 29 |
# File 'lib/example/signup/models.rb', line 27 def initialize @notified = false end |
Instance Attribute Details
#notified ⇒ Object
Returns the value of attribute notified.
21 22 23 |
# File 'lib/example/signup/models.rb', line 21 def notified @notified end |
Class Method Details
.get ⇒ Object
23 24 25 |
# File 'lib/example/signup/models.rb', line 23 def self.get new end |
Instance Method Details
#notify_about(user) ⇒ Object
31 |
# File 'lib/example/signup/models.rb', line 31 def notify_about(user); true; end |