Class: Clerk::SDKHooks::Registration

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/clerk/sdk_hooks/registration.rb

Class Method Summary collapse

Class Method Details

.init_hooks(hooks) ⇒ Object



31
32
33
34
35
36
37
38
# File 'lib/clerk/sdk_hooks/registration.rb', line 31

def self.init_hooks(hooks)
  # example_hook = ExampleHook.new

  # hooks.register_sdk_init_hook example_hook
  # hooks.register_before_request_hook example_hook
  # hooks.register_after_error_hook example_hook
  # hooks.register_after_success_hook example_hook
end