Module: Booth::Adminland

Defined in:
lib/booth/adminland.rb,
lib/booth/adminland/onboardings/find.rb,
lib/booth/adminland/periodic_cleanup.rb,
lib/booth/adminland/onboardings/index.rb,
lib/booth/adminland/credentials/create.rb,
lib/booth/adminland/onboardings/create.rb,
lib/booth/adminland/onboardings/destroy.rb,
lib/booth/adminland/authenticators/exist.rb,
lib/booth/adminland/onboardings/find_unconsumed.rb

Overview

Public API that you can call in your Rails app.

Defined Under Namespace

Modules: Authenticators, Credentials, Onboardings Classes: PeriodicCleanup

Class Method Summary collapse

Class Method Details

.create_credentialObject


Credential Helpers




10
11
12
# File 'lib/booth/adminland.rb', line 10

def self.create_credential(...)
  ::Booth::Adminland::Credentials::Create.call(...)
end

.create_onboardingObject



30
31
32
# File 'lib/booth/adminland.rb', line 30

def self.create_onboarding(...)
  ::Booth::Adminland::Onboardings::Create.call(...)
end

.destroy_onboardingObject



43
44
45
# File 'lib/booth/adminland.rb', line 43

def self.destroy_onboarding(...)
  ::Booth::Adminland::Onboardings::Destroy.call(...)
end

.exist_authenticatorsObject


Authenticator Helpers




18
19
20
# File 'lib/booth/adminland.rb', line 18

def self.exist_authenticators(...)
  ::Booth::Adminland::Authenticators::Exist.call(...)
end

.find_onboardingObject



34
35
36
# File 'lib/booth/adminland.rb', line 34

def self.find_onboarding(...)
  ::Booth::Adminland::Onboardings::Find.call(...)
end

.find_unconsumed_onboardingObject

For Mailers.



39
40
41
# File 'lib/booth/adminland.rb', line 39

def self.find_unconsumed_onboarding(...)
  ::Booth::Adminland::Onboardings::FindUnconsumed.call(...)
end

.index_onboardingsObject


Onboarding Helpers




26
27
28
# File 'lib/booth/adminland.rb', line 26

def self.index_onboardings(...)
  ::Booth::Adminland::Onboardings::Index.call(...)
end

.periodic_cleanupObject


Internal Helpers




51
52
53
# File 'lib/booth/adminland.rb', line 51

def self.periodic_cleanup(...)
  ::Booth::Adminland::PeriodicCleanup.call(...)
end