class SocialProfile::Providers::Twitter

Public Instance Methods

friends_count() click to toggle source
# File lib/social_profile/providers/twitter.rb, line 4
def friends_count
  @friends_count ||= begin
    if auth_hash['extra'] && auth_hash['extra']['raw_info']
      count = auth_hash['extra']['raw_info']['followers_count']
      count.to_i
    end
  end
end