Class: PlexRubySDK::SDKHooks::Registration

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

Class Method Summary collapse

Class Method Details

.init_hooks(hooks) ⇒ Object



25
26
27
28
29
30
31
32
# File 'lib/plex_ruby_sdk/sdk_hooks/registration.rb', line 25

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