Module: TwitterFriendly

Defined in:
lib/twitter_friendly.rb,
lib/twitter_friendly/cache.rb,
lib/twitter_friendly/utils.rb,
lib/twitter_friendly/client.rb,
lib/twitter_friendly/logger.rb,
lib/twitter_friendly/caching.rb,
lib/twitter_friendly/version.rb,
lib/twitter_friendly/rest/api.rb,
lib/twitter_friendly/cache_key.rb,
lib/twitter_friendly/rate_limit.rb,
lib/twitter_friendly/rest/lists.rb,
lib/twitter_friendly/rest/users.rb,
lib/twitter_friendly/rest/utils.rb,
lib/twitter_friendly/serializer.rb,
lib/twitter_friendly/rest/search.rb,
lib/twitter_friendly/rest/tweets.rb,
lib/twitter_friendly/rest/parallel.rb,
lib/twitter_friendly/log_subscriber.rb,
lib/twitter_friendly/rest/collector.rb,
lib/twitter_friendly/rest/favorites.rb,
lib/twitter_friendly/rest/timelines.rb,
lib/twitter_friendly/caching_and_logging.rb,
lib/twitter_friendly/rest/friends_and_followers.rb

Defined Under Namespace

Modules: Caching, CachingAndLogging, Logging, REST, RateLimit, Utils Classes: ASLogSubscriber, Cache, CacheKey, Client, Error, Logger, Serializer, TFLogSubscriber

Constant Summary collapse

VERSION =
"1.2.3"

Class Method Summary collapse

Class Method Details

.cache(cache_dir = nil) ⇒ Object



70
71
72
# File 'lib/twitter_friendly/client.rb', line 70

def cache(cache_dir = nil)
  TwitterFriendly::Cache.new(cache_dir: cache_dir)
end