Class: Booth::Authenticators::Step
- Inherits:
-
Object
- Object
- Booth::Authenticators::Step
- Includes:
- MethodObject
- Defined in:
- lib/booth/authenticators/step.rb
Instance Method Summary collapse
Methods included from MethodObject
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/booth/authenticators/step.rb', line 8 def call return :register if authenticator.device_id.blank? || authenticator.public_key.blank? || authenticator.sign_count.blank? return :choose_nickname if authenticator.nickname.blank? return :confirm if authenticator.confirmed_at.blank? :completed end |