Sha256: a77059c11c161086b1d332212a193c9ab9f92dd789fa4c1eb6fc5ec1ddfac4b2

Contents?: true

Size: 718 Bytes

Versions: 3

Compression:

Stored size: 718 Bytes

Contents

# Require your plugins here
require 'robut/plugin/twss'
require 'robut/storage/yaml_store'

# Add the plugin classes to the Robut plugin list.
# Plugins are handled in the order that they appear in this array.
Robut::Plugin.plugins << Robut::Plugin::TWSS

# Configure the robut jabber connection and you're good to go!
Robut::Connection.configure do |config|
  config.jid = '...@chat.hipchat.com/bot'
  config.password = 'password'
  config.nick = 'My Nick'
  config.room = '...@conf.hipchat.com'
  
  # Some plugins require storage
  Robut::Storage::YamlStore.file = ".robut"
  config.store = Robut::Storage::YamlStore
  
  # Add a logger if you want to debug the connection
  # config.logger = Logger.new(STDOUT)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
robut-0.3.0 examples/Chatfile
robut-0.2.1 examples/Chatfile
robut-0.2.0 examples/Chatfile