Class: PrintStuffMail::Confirmation

Inherits:
Object
  • Object
show all
Defined in:
lib/psm.rb

Instance Method Summary collapse

Constructor Details

#initializeConfirmation

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

Returns:

  • (Boolean)


15
# File 'lib/psm.rb', line 15

def confirmed?; @confirmed end