Class: Hipbot::Adapters::Hipchat::Initializer
- Inherits:
-
Object
- Object
- Hipbot::Adapters::Hipchat::Initializer
- Defined in:
- lib/hipbot/adapters/hipchat/initializer.rb
Constant Summary collapse
- KEEP_ALIVE_INTERVAL =
60
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize ⇒ Initializer
constructor
A new instance of Initializer.
Constructor Details
#initialize ⇒ Initializer
Returns a new instance of Initializer.
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/hipbot/adapters/hipchat/initializer.rb', line 9 def initialize Jabber.debug = true Jabber.logger = Hipbot.logger initialize_client do initialize_rooms initialize_users initialize_bot_user initialize_callbacks initialize_keep_alive end end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
5 6 7 |
# File 'lib/hipbot/adapters/hipchat/initializer.rb', line 5 def client @client end |