Module: RightHook

Defined in:
lib/right_hook.rb,
lib/right_hook/app.rb,
lib/right_hook/event.rb,
lib/right_hook/logger.rb,
lib/right_hook/version.rb,
lib/right_hook/commenter.rb,
lib/right_hook/subscriber.rb,
lib/right_hook/spec_helpers.rb,
lib/right_hook/authenticator.rb,
lib/right_hook/authenticated_client.rb

Defined Under Namespace

Modules: Event, SpecHelpers Classes: App, AuthenticatedClient, Authenticator, Commenter, DebugApp, Subscriber

Constant Summary collapse

VERSION =
"0.5.2"

Class Method Summary collapse

Class Method Details

.loggerObject



5
6
7
# File 'lib/right_hook/logger.rb', line 5

def logger
  @logger || Logger.new(File::NULL)
end

.logger=(logger) ⇒ Object



9
10
11
# File 'lib/right_hook/logger.rb', line 9

def logger=(logger)
  @logger = logger
end