Module: Tweetwall
- Defined in:
- lib/tweetwall.rb,
lib/tweetwall/version.rb
Constant Summary collapse
- VERSION =
"0.0.7"
Class Method Summary collapse
-
.print_tweets(twitter_user, number_of_tweets = 5, consumer_key, consumer_secret) ⇒ Object
This method prints the entire DIV of the tweet_wall in your html.
Class Method Details
.print_tweets(twitter_user, number_of_tweets = 5, consumer_key, consumer_secret) ⇒ Object
This method prints the entire DIV of the tweet_wall in your html
9 10 11 12 13 14 15 |
# File 'lib/tweetwall.rb', line 9 def self.print_tweets(twitter_user, number_of_tweets=5, consumer_key, consumer_secret) begin '<div id="tweet_wall">' + self.print_tweet_content(twitter_user, number_of_tweets, consumer_key, consumer_secret) + '</div>' rescue "" end end |