Class: PrintStuffMail::Confirmation
- Inherits:
-
Object
- Object
- PrintStuffMail::Confirmation
- Defined in:
- lib/psm.rb
Instance Method Summary collapse
- #confirm! ⇒ Object
- #confirmed? ⇒ Boolean
-
#initialize ⇒ Confirmation
constructor
A new instance of Confirmation.
Constructor Details
#initialize ⇒ Confirmation
Returns a new instance of Confirmation.
13 |
# File 'lib/psm.rb', line 13 def initialize; @confirmed = false end |
Instance Method Details
#confirm! ⇒ Object
14 |
# File 'lib/psm.rb', line 14 def confirm!; @confirmed = true end |
#confirmed? ⇒ Boolean
15 |
# File 'lib/psm.rb', line 15 def confirmed?; @confirmed end |