Module: Dickburt

Defined in:
lib/dickburt/config.rb,
lib/dickburt.rb,
lib/dickburt/room.rb,
lib/dickburt/user.rb,
lib/dickburt/logger.rb,
lib/dickburt/server.rb,
lib/dickburt/version.rb,
lib/dickburt/retryable.rb

Overview

Store the campfire api token b/c I’m sick of looking that shit up. I know the host and room I want to access, but not the token, so if the token is provided, store it - tokens are uniq by host - so store it per host. Provides a nice config hash that we build up from the command line to hand off to Dickburt::Server.

Defined Under Namespace

Modules: Config, Logger, Retryable, Server Classes: Bot, Campfire, Error, Message, Response, Room, User

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

.loggerObject



22
23
24
# File 'lib/dickburt.rb', line 22

def self.logger
  @logger = Logging::Logger[self.name]
end