Class: Booth::Userland::Onboardings::Update

Inherits:
Object
  • Object
show all
Includes:
Concerns::Action
Defined in:
lib/booth/userland/onboardings/update.rb

Overview

Consume an Onboarding.

Instance Method Summary collapse

Instance Method Details

#callObject

TODO: Audit and Throttle



11
12
13
14
15
16
17
18
# File 'lib/booth/userland/onboardings/update.rb', line 11

def call
  request.must_be_patch!

  do_find
    .on_success { do_check_not_logged_in_as_wrong_user }
    .on_success { do_destroy_authenticators }
    .on_success { do_consume }
end