Updated example documentation
[twitter4r-core.git] / examples / messaging.rb
blobc40876e938722beb29983258a6e3707dcbf1b2aa
1 # = Messaging API Examples
2 #  require('rubygems')
3 #  gem('twitter4r', '0.2.0')
4 #  require('twitter')
5
6 # only required if you want to use some configuration helper methods like 
7 # <tt>Twitte4R::Client.from_config</tt> for sensitive/instance context.
8 #  require 'twitter/console'
9 #  config_file = File.join(File.dirname(__FILE__), '..', 'config', 'twitter.yml')
10
11 # Not configuring Twitter::Client for global features such as overriding:
12 # * protocol
13 # * host
14 # * port
15 # * user agent
16 # * proxy information
17 # Since the defaults are satisfactory, but if you need to, please refer to 
18 # the {<tt>configure.rb</tt>}[file:configure_rb.html] example code.
19
20 #  twitter = Twitter::Client.from_config(config_file)