Module: Devise::Models::Pinfirmable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/pinfirmable/models/pinfirmable.rb
Instance Method Summary collapse
Instance Method Details
#confirm ⇒ Object
11 12 13 |
# File 'lib/pinfirmable/models/pinfirmable.rb', line 11 def confirm update_attribute(:pinfirmable_pin, nil) end |
#skip_pinfirmation! ⇒ Object
15 16 17 |
# File 'lib/pinfirmable/models/pinfirmable.rb', line 15 def skip_pinfirmation! @skip_pinfirmation = true end |