Class: Booth::Userland::Webauths::Create
- Inherits:
-
Object
- Object
- Booth::Userland::Webauths::Create
- Includes:
- Concerns::Action
- Defined in:
- lib/booth/userland/webauths/create.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/booth/userland/webauths/create.rb', line 9 def call request.must_be_post! request.must_be_logged_in! ::Booth::Userland::Webauths::Guards::Sudo.call(request:, credential:) { return it } do_ensure_authenticator .on_success { do_require_editable_authentictor } .on_success { do_transition } end |