whos_using_what 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
|
|
1
1
|
require_relative "../base"
|
2
2
|
|
3
|
-
require 'mongo_helper'
|
4
|
-
require 'linkedin_client'
|
5
|
-
|
6
3
|
#meant to be able to be used as long-running process to save company data to DB
|
7
4
|
class GatherCompanies < Base
|
8
5
|
|
6
|
+
require 'mongo_helper'
|
7
|
+
require 'linkedin_client'
|
8
|
+
|
9
9
|
def initialize
|
10
10
|
|
11
11
|
@linkedin_tech_industry_codes = "4,132,6,96,113";
|
@@ -1,11 +1,13 @@
|
|
1
|
-
|
2
|
-
require 'uri'
|
3
|
-
require 'json'
|
4
|
-
require 'yaml'
|
1
|
+
require_relative '../base'
|
5
2
|
|
6
3
|
include Mongo
|
7
4
|
|
8
|
-
class MongoHelper
|
5
|
+
class MongoHelper < Base
|
6
|
+
|
7
|
+
require 'mongo'
|
8
|
+
require 'uri'
|
9
|
+
require 'json'
|
10
|
+
require 'yaml'
|
9
11
|
|
10
12
|
def self.get_connection
|
11
13
|
return @db_connection if @db_connection
|