Module: TwitterFriendly::RateLimit

Included in:
Client
Defined in:
lib/twitter_friendly/rate_limit.rb

Defined Under Namespace

Classes: RateLimit

Instance Method Summary collapse

Instance Method Details

#rate_limitObject



3
4
5
6
7
8
# File 'lib/twitter_friendly/rate_limit.rb', line 3

def rate_limit
  RateLimit.new(perform_get('/1.1/application/rate_limit_status.json'))
rescue => e
  logger.warn e.inspect
  nil
end