Class: Gruf::Hooks::Base

Inherits:
Object
  • Object
show all
Includes:
Loggable
Defined in:
lib/gruf/hooks/base.rb

Overview

Base class for a hook that allows execution at various points of Gruf server processes

Instance Method Summary collapse

Methods included from Loggable

#logger

Constructor Details

#initialize(options: nil) ⇒ Base

Returns a new instance of Base.

Parameters:

  • options (Hash) (defaults to: nil)


29
30
31
# File 'lib/gruf/hooks/base.rb', line 29

def initialize(options: nil)
  @options = options || {}
end