Class: Booth::Adminland::Onboardings::Find

Inherits:
Object
  • Object
show all
Includes:
Logging, Calls
Defined in:
lib/booth/adminland/onboardings/find.rb

Overview

Find a Onboarding either by #id or #credential_id.

Instance Method Summary collapse

Instance Method Details

#callObject



16
17
18
19
20
21
22
23
# File 'lib/booth/adminland/onboardings/find.rb', line 16

def call
  do_check_domain
    .on_success { do_check_id_argument }
    .on_success { do_check_scope }
    .on_success { do_check_id }
    .on_success { do_find_onboarding }
    .on_success { do_serialize_onboarding }
end