Class: Booth::Userland::Sessions::DestroyOneOrOther

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

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
12
# File 'lib/booth/userland/sessions/destroy_one_or_other.rb', line 7

def call
  request.must_be_delete!
  request.must_be_logged_in!

  do_transition
end