jnewland / god_examples

examples of some of the crazy awesome things you can do with God

god_examples / jabber_contacts.god
100644 11 lines (9 sloc) 0.337 kb
1
2
3
4
5
6
7
8
9
10
11
$: << File.expand_path(File.dirname(__FILE__) + "/lib")
require 'passwords'
require 'jabber'
 
God::Contacts::Jabber.settings = { :jabber_id => 'bot@jnewland.com',
                                   :password => PASSWORDS['bot@jnewland.com'] }
 
God.contact(:jabber) do |c|
  c.name = 'jesse'
  c.jabber_id = 'jnewland@gmail.com'
end