Sha256: 10aa8d278b35209f71d874a29b2d0d0e400db8d77f40cd3dbd73c84a52dc48a1
Contents?: true
Size: 587 Bytes
Versions: 2
Compression:
Stored size: 587 Bytes
Contents
module Hipbot class Configuration attr_accessor *Bot::CONFIGURABLE_OPTIONS def initialize self.adapter = Adapters::Hipchat self.error_handler = Proc.new{} self.helpers = Module.new self.jid = '' self.logger = Logger.new($stdout) self.password = '' self.plugins = Hipbot.plugins self.preloader = Proc.new{} self.rooms = {} self.storage = Collection self.teams = {} end def user @user ||= User.new(name: 'robot') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hipbot-1.0.0.rc2 | lib/hipbot/configuration.rb |
hipbot-1.0.0.rc1 | lib/hipbot/configuration.rb |