SocialShares::Base
# File lib/social_shares/mail_ru.rb, line 5 def shares! response = get(URL, { params: { func: 'foo', callback: 1, url_list: checked_url } }) matches = /shares":(\d+)/.match(response.body) matches ? matches[-1].to_i : 0 end