module SocialShares
  class Linkedin < Base
    URL = 'http://www.linkedin.com/countserv/count/share'

    def shares!
      response = get(URL, {
        params: {
          url: checked_url,
          format: 'json'
        }
      })

      JSON.parse(response)['count']
    end
  end
end

module SocialShares
  class Linkedin < Base
    URL = 'https://www.linkedin.com/countserv/count/share'

    def shares!
      response = get(URL, {
        params: {
          url: checked_url,
          format: 'json'
        }
      })

      JSON.parse(response)['count']
    end
  end
end

Use https instead of http due to redirection
Use https instead of http due to redirection
