module ActionPush::Concerns::RegisterInterceptor

Constants

DEFAULT_INTERCEPTOR

Public Instance Methods

interceptor() click to toggle source
# File lib/action_push/concerns/register_interceptor.rb, line 10
def interceptor
  @interceptor || DEFAULT_INTERCEPTOR
end
register_interceptor(handler) click to toggle source
# File lib/action_push/concerns/register_interceptor.rb, line 14
def register_interceptor(handler)
  @interceptor = handler
end