Class: Booth::Userland::Onboardings::Show

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

Instance Method Summary collapse

Instance Method Details

#callObject



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

def call
  request.must_be_get!
  request.must_be_html!

  do_find
    .on_success { do_check_consummation }
    .on_success { do_check_not_logged_in_as_wrong_user }
    .on_success { do_check_onboarding_not_needed }
    .on_success { do_access }
end