Class: Booth::Userland::Otps::Show

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

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
12
13
14
15
16
# File 'lib/booth/userland/otps/show.rb', line 7

def call
  request.must_be_get!
  request.must_be_html!
  request.must_be_logged_in!

  ::Booth::Userland::Otps::Guards::Manageable.call(credential:) { return _1 }
  ::Booth::Userland::Otps::Guards::Sudo.call(request:, credential:) { return _1 }

  do_show
end